W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2007

Re: PATCH draft

From: Mark Baker <distobj@acm.org>
Date: Mon, 16 Jul 2007 17:59:09 -0400
Message-ID: <e9dffd640707161459r4161e3c8nd8f9d5c9f6235ce@mail.gmail.com>
To: "James M Snell" <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org

(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 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:31 UTC