mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-24 17:04:55 +00:00
clean up
This commit is contained in:
parent
baf4b2d8a8
commit
e5b8fb8654
3 changed files with 37 additions and 90 deletions
|
|
@ -82,6 +82,7 @@ class GZipRequestMiddleware:
|
|||
|
||||
sent = False
|
||||
|
||||
# needed some odd logic here to handle gzip stream so just returning an empty body
|
||||
async def new_receive():
|
||||
nonlocal sent
|
||||
if sent:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue