-
Notifications
You must be signed in to change notification settings - Fork 141
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
Error for requests with gzip content encoding and json content type #31
Comments
How can I recreate the issue? I tried this:
But everything seems fine. |
I think you need send content in gzip format as binary data, like this:
But I can't check it right now. |
I was able to recreate the error/message using
I then tried decompressing the body using
I'll try it a bit more later. I'm looking for a solution that doesn't involve me writing custom code, to avoid complexity. |
This is a bug in the server, not something that needs to be fixed in the request. Amazon Data Firehose is an example of a well-known application that hits this bug when GZIP encoding is enabled. |
Request headers:
Output in console:
The text was updated successfully, but these errors were encountered: