-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors if Django gzip middleware used #513
Comments
Ah do we perhaps just need |
I believe this was fixed in #80 , back in version 2.3.0 (2019-08-19).
Ah, no, sorry the source does match. |
I think apig-wsgi/src/apig_wsgi/__init__.py Lines 276 to 289 in dc22094
|
That could be a problem with my headers rather than that detection though I suppose. I will try it shortly, thanks for getting back to me so quickly. |
It's because of the first if not self.binary_support:
return False isn't it? I'm not setting it, and so: apig-wsgi/src/apig_wsgi/__init__.py Lines 74 to 76 in dc22094
(which seems contrary to the readme, hence I got it the wrong way around in my first reply: Line 81 in dc22094
|
and I can confirm it does indeed! Thanks again. As above though I think the intention was for |
Okay, I just came back to this. I think I fixed it in #528, releasing shortly. Would you be able to check? |
Yep seems fine now without the |
Python Version
3.11
Package Version
2.18.0
Description
Called like:
with
"django.middleware.gzip.GZipMiddleware",
in middleware.The text was updated successfully, but these errors were encountered: