Elasticsearch 6.0.0-beta-1 -- forcing header feels like a regression


(Jason Michael Baumgartner) #1

I've been playing with the new Elasticsearch version and do a lot of commands via curl on the command line. However, I must now add '-H "Content-Type: application/json"' to every curl command or else Elasticsearch will give an error.

This feels like a regression. Why enforce this? Either turn is off like 5.x or allow me to make a global setting configuration change in the configuration file because this gets really annoying fast.


(Jason Tedor) #2

Please understand this is a security issue; you can read Strict Content-Type Checking for Elasticsearch REST Requests for the details.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.