We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In order to be able to use the current reactive client against a version 8 cluster, it is necessary to set the following headers:
"Accept: application/vnd.elasticsearch+json;compatible-with=7" "Content-Type: application/vnd.elasticsearch+json;compatible-with=7"
When doing this by configuring the client, the current code in addition adds the
"Content-Type: application/json"
header which leads to an error returned from Elasticsearch.
A content-type header determined by the content should only be added when no header was set by the user.
The text was updated successfully, but these errors were encountered:
Documentation about compatibility headers.
cf380e2
Original Pull Request #2093 Closes #2088
ab29ae4
Original Pull Request #2093 Closes #2088 (cherry picked from commit cf380e2)
8285dd0
sothawo
Successfully merging a pull request may close this issue.
In order to be able to use the current reactive client against a version 8 cluster, it is necessary to set the following headers:
When doing this by configuring the client, the current code in addition adds the
header which leads to an error returned from Elasticsearch.
A content-type header determined by the content should only be added when no header was set by the user.
The text was updated successfully, but these errors were encountered: