To my understanding, HTTP 201 should always return created entity and its
content should be based on Content-Type header field.
On Mon, 16 Dec 2013 16:25:53 -0500 (EST)
Vineet Reynolds Pereira <vpereira(a)redhat.com> wrote:
It would be better to treat this as a flag to be enabled during REST
scaffolding. It would allow users to choose how the resource behaves -
* send a 201 response with Location header,
* send a 201 response with Location header and also a response entity.