Re: PATCH draft

(removed atom-protocol)

On 7/12/07, James M Snell <jasnell@gmail.com> wrote:
>   * 200 responses MUST include a representation of the modified
>     resource. 204 responses are used to indicate successful response
>     without returning a representation.

Please don't do that.  If a server wants to return a representation of
the modified resource, it can do so and signal it (Content-Location).
Requiring any particular response prevents it from being used for
other things.

It also seems a bit odd considering that the intent of PATCH is - like
PUT - to set the state of the resource explicitly, so in general,
after a successful response the client pretty much knows the state and
so the representation is probably not communicating much.

Mark.
-- 
Mark Baker.  Ottawa, Ontario, CANADA.         http://www.markbaker.ca
Coactus; Web-inspired integration strategies  http://www.coactus.com

Received on Monday, 16 July 2007 21:59:14 UTC