mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
+1
-1
@@ -1161,7 +1161,7 @@ class AsyncResponse(Response):
|
||||
DEFAULT_CHUNK_SIZE = 1
|
||||
|
||||
async def generate():
|
||||
# Special case for urllib3.
|
||||
# Special case for requests.core.
|
||||
if hasattr(self.raw, 'stream'):
|
||||
try:
|
||||
async for chunk in self.raw.stream(
|
||||
|
||||
Reference in New Issue
Block a user