Re: PATCH vs multipart/byteranges vs Content-Range

On Feb 16, 2008, at 12:53 PM, Robert Sayre wrote:
> On Feb 16, 2008, at 2:58 PM, Roy T. Fielding wrote:
>>  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:

Damn, I knew I should have finished my blog first ... a blog wave has
started and I'm still getting into my trunks.

A bit of background: At RailsConf EU, I asked DHH what it was that
Rails needed most from and the answer was partial updates
exactly as you describe.  My answer was to use PATCH, of course, but
the standards issue is still that there are no registered diff formats.
So, I said to myself, I know how to fix that ...

YAML is a better format for contextual diffs.  I think your json.sync
format is close, but way too verbose (we are supposed to be saving
bandwidth here, not being human-readable).  Maybe I should start a
wiki for diff formats and just start registering them.


Received on Saturday, 16 February 2008 21:43:46 UTC