This commit is contained in:
yumoqing 2022-03-22 12:39:37 +08:00
parent 4ce3f10fc0
commit 9fb88e923a

View File

@ -34,7 +34,7 @@ class ProxyProcessor(BaseProcessor):
self.retResponse = web.StreamResponse( self.retResponse = web.StreamResponse(
headers = headers, headers = headers,
status = res.status status = res.status
body=body ,body=body
) )
# await self.retResponse.prepare(request) # await self.retResponse.prepare(request)
async for chunk in res.content.iter_chunked(chunk_size): async for chunk in res.content.iter_chunked(chunk_size):