Re: PUT and DELETE methods in 200 code

very good. thanks.

mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me


#RESTFest 2010
http://rest-fest.googlecode.com




On Mon, Apr 4, 2011 at 09:36, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 04.04.2011 15:24, mike amundsen wrote:
>>
>> All makes sense to me.
>>
>> Are the following assumptions (for WebDAV servers) correct?
>> - 200 OK responses always include a body
>
> No.
>
>> - 201 CREATED responses always include a Location header
>
> No. It would be redundant for PUT.
>
>> - 204 NO CONTENT respones carry no body and no Location header
>
> Yes.
>
> Best regards, Julian
>

Received on Monday, 4 April 2011 13:39:26 UTC