elasticsearch/elasticsearch — pull request #7618 by rjernst (2014-09-05 20:07:34+00:00)
Title: RestAPI: Add explicit error when PUT mapping API is given an empty request body.

I also added validation for an empty type, and added tests (just for validation for now).

closes #7536