Skip to content
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

A content decompressor that throws a human readable message when compression is disabled and the user sends compressed content #1678

Closed
wants to merge 1 commit into from

Conversation

derryx
Copy link
Contributor

@derryx derryx commented Feb 7, 2012

Currently the user gets an obscure error message about content that cannot be decoded because ES handles the compressed content as uncompressed content.
I personally think that we should not care about broken clients and respond to requests according to the HTTP specs.
Compression is very useful when you use the bulk-API btw....

compression is disabled and the user sends compressed content.
@dakrone
Copy link
Member

dakrone commented Jul 18, 2014

Hi @derryx, sorry for the long wait, I'm going to take a look at this.

In the meantime, can you sign our CLA so I can merge this in once it looks good?

@s1monw
Copy link
Contributor

s1monw commented Jul 23, 2014

I looked at it briefly and I think this looks good though. Yet, the indent seems to be off and it seems to use tabs...

@s1monw s1monw removed the review label Jul 23, 2014
@derryx
Copy link
Contributor Author

derryx commented Aug 6, 2014

Should I create a new pull request?

@clintongormley
Copy link

@derryx it looks like you have deleted your original fork of the elasticsearch repo? in which case yes: please create a new PR.

Also, we'll need you to sign the CLA before we can merge it in: http://www.elasticsearch.org/contributor-agreement/

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants