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

Ensure Content-Type header is set #10

Open
jrgns opened this issue Apr 30, 2018 · 0 comments
Open

Ensure Content-Type header is set #10

jrgns opened this issue Apr 30, 2018 · 0 comments

Comments

@jrgns
Copy link
Contributor

jrgns commented Apr 30, 2018

Since ES 5.3 you'll see this in the logs if the content type header isn't set:

Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header

To fix, set the Content-Type header to application/json

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

No branches or pull requests

1 participant