summaryrefslogtreecommitdiff
path: root/docs/reference/migration/migrate_6_0/rest.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/migration/migrate_6_0/rest.asciidoc')
-rw-r--r--docs/reference/migration/migrate_6_0/rest.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference/migration/migrate_6_0/rest.asciidoc b/docs/reference/migration/migrate_6_0/rest.asciidoc
index 1999ff6517..f7b52b914d 100644
--- a/docs/reference/migration/migrate_6_0/rest.asciidoc
+++ b/docs/reference/migration/migrate_6_0/rest.asciidoc
@@ -13,6 +13,12 @@ has been removed in Elasticsearch 6.0.0.
In previous versions of Elasticsearch, documents were allowed to contain duplicate keys. Elasticsearch 6.0.0
enforces that all keys are unique. This applies to all content types: JSON, CBOR, Yaml and Smile.
+==== Content-Type Auto-detection
+
+In previous versions of Elasticsearch, having a proper Content-Type for the data in a request was not enforced.
+Elasticsearch 6.0.0 enforces that all requests with a body must have a supported Content-Type and this type will
+be used when parsing the data.
+
==== Boolean API parameters
All REST APIs parameters (both request parameters and JSON body) support providing boolean "false" as the