Skip to content

Stop double-decoding gzip#3

Open
singpolyma wants to merge 1 commit into
lostisland:mainfrom
singpolyma:fix-gzip
Open

Stop double-decoding gzip#3
singpolyma wants to merge 1 commit into
lostisland:mainfrom
singpolyma:fix-gzip

Conversation

@singpolyma

Copy link
Copy Markdown

By default em-http decodes gzip content and leaves the Content-Encoding header
intact, which is then detected by Faraday middleware and the gzip decoding is
attempted again leading to exceptions.

This change requests that em-http not handle the gzip decoding, so that the
Faraday middleware can do it.

By default em-http decodes gzip content and leaves the Content-Encoding header
intact, which is then detected by Faraday middleware and the gzip decoding is
attempted again leading to exceptions.

This change requests that em-http *not* handle the gzip decoding, so that the
Faraday middleware can do it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant