-
-
Notifications
You must be signed in to change notification settings - Fork 240
Content Encoding Error #19
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
Comments
I'm really sorry, but nothing has changed recently. There was a new version of this module yesterday, but the version in connect is not affected by this and it's only change is to add debugging. I verified that this module is compressing and working in Firefox. Unless you provide some code test case that demonstrates the issue we can use to reproduce or you identify the issue and tell us what to fix, there is nothing we can act on. |
Also to be clear I'm' not definitively saying there is no issue with this module, but I have no idea what it would be. You do not have to post your IP code, but if you can make a simple example that demonstrates the issue would be necessary for us to investigate. |
👍 I agree with what you wrote. Thanks for taking the time to reply. I created this issue to see if there was a good resource I could use to debug the cause of the problem because I agree it's probably not caused by For now my team is going to disable compression until we have more time to look into it. This is just for development and SauceLabs testing, not production, so it's not a big deal. Thanks again! |
No problem. As for what is the cause, I really don't know where to start, because the only real thing that would go wrong here is if you are replacing res.end or res.write in your code and simply implementing it with false assumptions (like replacing the reference at some point with the core implementation instead of the previous implementation). |
In Chrome I get a blank error page, in Firefox I get this:
curl -v -H "Accept-Encoding: gzip, deflate" --compressed http://localhost:9000/
works correctly.I'm using
compression
via connect 2.19.6 via grunt-contrib-connect and I'm not sure how to best debug the issue. Our code was working at least until last week, but stopped working about today (maybe around July 17) , so I'm wondering if a new dependency broke something.Unfortinly our code isn't open source so I can't share it, but we're including compression via the
connect.compress()
middleware which precedes the other middleware.The text was updated successfully, but these errors were encountered: