Skip to content

Ensure Content-Type header is set #10

@jrgns

Description

@jrgns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions