W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2008

Re: PATCH vs multipart/byteranges vs Content-Range

From: Robert Sayre <rsayre@mozilla.com>
Date: Sat, 16 Feb 2008 15:53:11 -0500
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <6A4C898D-B950-4B5F-B993-B153BBEBDBF1@mozilla.com>
To: "Roy T. Fielding" <fielding@gbiv.com>


On Feb 16, 2008, at 2:58 PM, Roy T. Fielding wrote:
>
> PATCH is a very simple method -- look at the content-type to see the
> format of the body, which contains instructions on how to apply a
> desired state change.

Yes, and it needs to be distinct from POST so you can send the server  
a patch that isn't to be applied, but stored at a URI of the server's  
choosing.

>  I started
> on a definition of a patch format for YAML late last year, but it
> was derailed by the partitioning work.

Here's a patch format for JSON in JSON:
http://blog.mozilla.com/rob-sayre/2008/02/15/restful-partial-updates/

- Rob
Received on Saturday, 16 February 2008 20:53:26 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:15 UTC