[aerogear-dev] Aerogear.js for CRUD

Karel Piwko kpiwko at redhat.com
Wed Dec 18 10:47:33 EST 2013


To my understanding, HTTP 201 should always return created entity and its
content should be based on Content-Type header field.

See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

On Mon, 16 Dec 2013 16:25:53 -0500 (EST)
Vineet Reynolds Pereira <vpereira at redhat.com> wrote:

> It would be better to treat this as a flag to be enabled during REST resource
> 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.
> 


More information about the aerogear-dev mailing list