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

Index throws exception due to bug in parseheader #12

Open
kuroburki opened this issue Feb 17, 2017 · 1 comment
Open

Index throws exception due to bug in parseheader #12

kuroburki opened this issue Feb 17, 2017 · 1 comment

Comments

@kuroburki
Copy link

Code looks for string "Content-Length" in the response header, but received header shows "content-length".

@hthinh
Copy link

hthinh commented Feb 28, 2018

I got the same problem for elasticsearch 6.2.0, quick fix is modify it to look for "content-length". However, HTTP protocol states that: headers are case insensitive (RFC 7230) so it should be handled properly.

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

No branches or pull requests

2 participants