Re: PATCH vs multipart/byteranges vs Content-Range

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