67
67
# maximum size of read requests -- used to avoid MemoryError issues in recv
68
68
_max_read_size = 512 * 1024
70
def __init__(self, path, infile, report_activity=None):
73
73
:param path: File url, for error reports.
74
74
:param infile: File-like socket set at body start.
79
82
# When using multi parts response, this will be set with the headers
80
83
# associated with the range currently read.