request.iter_content(1024 * 1024) code example Example: request.iter_content(1024 * 1024) for chunk in response.iter_content(chunk_size=1024):