in s3transfer/download.py [0:0]
def __next__(self):
chunk = self._body.read(self._chunksize)
self._num_reads += 1
if chunk:
return chunk
elif self._num_reads == 1:
# Even though the response may have not had any
# content, we still want to account for an empty object's
# existence so return the empty chunk for that initial
# read.
return chunk
raise StopIteration()