Skip to content

POST index/_settings with body produces wrong exception #17853

@honzakral

Description

@honzakral

Elasticsearch version: 2.1 - master

Description of the problem including expected versus actual behavior: Sending even an empty body (url localhost:9200/test/_settings -d '' or curl localhost:9200/test/_settings -d '{}') results in a (wrong) exception - mapper_parsing_exception

Steps to reproduce:

  1. curl -X PUT localhost:9200/test
  2. curl localhost:9200/test/_settings -d ''

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions