-
Notifications
You must be signed in to change notification settings - Fork 163
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
411 status error code #16
Comments
Found a clue so wanted to share:
|
FYI: I was able to ask my team to push configuration changes to the nginx-servers which include support for chunked transfer-encoding ... so I'm no longer running into this problem when using the elasticjs client. |
¿Shouldn't elastic-node-client add the ''Content-Length' header in the post and put functions to make it compatible with servers that don't support chunking? (like older nginx versions) |
Have the authors of elastic.js ever run into the scenario where a 411 status code is returned while posting data with this client?
Its understandable that the client isn't ready for this and the
JSON.parse()
method inelastic-node-client.js:208:25
gets confused and the system throws a SyntaxError:But I'm more curious as to why the client might run into such a situation in the 1st place.
The text was updated successfully, but these errors were encountered: