You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS version: macOS Sierra 10.12.6 (Darwin Kernel Version 16.7.0)
Description of the problem including expected versus actual behavior:
We get a deprecation warning if using Content-Type: application/x-ndjson; charset=UTF-8 header for the Bulk API. That is, the server only checks if the Content-Type === "application/x-ndjson" and otherwise complains about missing Content-Type.
We should definitely not issue a deprecation warning when Content-Type includes the charset. Another story is what we do with the charset, see #22769 .
Elasticsearch version: 5.6.3
Plugins installed: []
JVM version: 1.8.0_144
OS version: macOS Sierra 10.12.6 (Darwin Kernel Version 16.7.0)
Description of the problem including expected versus actual behavior:
We get a deprecation warning if using
Content-Type: application/x-ndjson; charset=UTF-8
header for the Bulk API. That is, the server only checks if theContent-Type === "application/x-ndjson"
and otherwise complains about missingContent-Type
.Steps to reproduce:
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: