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
[406] {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
The text was updated successfully, but these errors were encountered:
You should modify redis-stat/lib/redis-stat/elasticsearch.rb file.
` 24 def initialize hosts, elasticsearch 25 url, @index = elasticsearch 26 @hosts = hosts 27 @client = Elasticsearch::Client.new :url => url, 28 transport_options: { 29 headers: { 'Content-Type' => 'application/json' } 30 } 31 end
`
Sorry, something went wrong.
use nginx
proxy_set_header Content-Type application/json;
No branches or pull requests
[406] {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
The text was updated successfully, but these errors were encountered: