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

Fix broken HTTP headers in elasticsearch requests #653

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

aautushka
Copy link

@aautushka aautushka commented Feb 8, 2018

The bug results in Content-Type header not being set and this way preventing Elasticsearch from accepting the request. Every single request would fail with error 406.

Starting from version 6.0 Elasticsearch demands the Content-Type to be present and set. See the official post on the subject.

Tested with Elasticsearch 6.2.0

@oxarbitrage
Copy link
Member

very good and really appreciated. i didn't knew it was so easy to support version 6, i thought more changes were going to be needed. anyways, i am testing it now and will merge if it works as stated.

Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works perfect. thanks.
i updated all the elasticsearch documentation in the wiki to version 6: https://github.com/bitshares/bitshares-core/wiki/ElasticSearch-Plugin

@oxarbitrage oxarbitrage merged commit 2cb3675 into bitshares:develop Feb 8, 2018
@abitmore abitmore added this to the Next Non-Consensus-Changing Release milestone Feb 9, 2018
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.

3 participants