This commit is contained in:
yumoqing 2022-03-22 12:25:45 +08:00
parent be92e94f34
commit c3378bb10f

View File

@ -36,6 +36,7 @@ class ProxyProcessor(BaseProcessor):
status = res.status
# , body=body
)
await self.retResponse.prepare(request)
async for chunk in res.content.iter_chunked(chunk_size):
await self.retResponse.write(chunk)
print('proxy: datahandle() finish', self.retResponse)