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.