aiohttp_httpclient: fix

This commit is contained in:
lilydjwg 2020-08-20 15:51:43 +08:00
parent 04a95de7af
commit 8ed445d238

View File

@ -49,7 +49,7 @@ class AiohttpSession(BaseSession):
else:
res.raise_for_status()
body = await res.content
body = await res.content.read()
return Response(body)
@atexit.register