Re: Setting the representation identifier on a response that has no need for an entity

2008-10-09 Thread Thierry Boileau
Hello Mark, As far as I understand, I feel that you're talking about how to respond to a POST request. You may have a look at this [1], which says that: If a resource has been created on the origin server, the response SHOULD be 201 (Created) and contain an entity which describes the status

Re: Setting the representation identifier on a response that has no need for an entity

2008-10-09 Thread Mark Petrovic
On Oct 9, 2008, at 1:27 AM, Thierry Boileau wrote: In your case, you don't want to send an entity but still want to set the Location header. Thus, don't set the response's entity but call the Response#setLocationRef method (see also this link [2] for more details about the mapping HTTP