Juan Antonio Osorio Robles b4a785be1d Fix content type validation if missing payload
If no payload is provided, our API specifies that the payload's
content type will be optional, but this doesn't mean that it will not
be validated. This commit disables clients putting unsupported content
types.

Closes-Bug: #1376490
Change-Id: I0836f30c8ea23eff515ff7d5f944f5cf85ebb5e8
2015-01-23 16:22:49 +02:00
..