Fix download_object_as_stream method in the Backblaze B2 driver.
@@ -328,7 +328,10 @@ class BackblazeB2StorageDriver(StorageDriver):
return self._get_object(obj=obj, callback=read_in_chunks,
response=response,
- callback_kwargs={'iterator': response.response,
+ callback_kwargs={
+ 'iterator': response.iter_content(
+ chunk_size
+ ),
'chunk_size': chunk_size},
success_status_code=httplib.OK)
