-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Zlib / incorrect header check in vanilla request #260
Comments
In browser response headers indicate encoding is
Request succeeds. So problem seems to be in unencoding deflate-encoded streams. (I guess.) |
@djechlin hmm we actually have accept-encoding by default: https://github.com/visionmedia/superagent/blob/master/lib/node/index.js#L584 so we must not be handling that correctly |
Closing due to age. I think zlib issues have been resolved in newer versions. |
@defunctzombie i'm still seeing this. newer versions of what? superagent, zlib? |
Should be re-opened. I'm seeing this also. I believe there are a couple of other bugs related to zlib not working: #927, danwrong/restler#96 I did notice that I had to change my headers from: That seemed to fix it. |
Can you provide a complete example with a publicly accessible URL that reproduces this problem? |
My request looks like this:
Seems to be enough to give this error:
When I build the URL myself with a valid access token and point my browser to it, the request succeeds.
The text was updated successfully, but these errors were encountered: