incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Yokomizo" <daniel.yokom...@gmail.com>
Subject Re: My CouchDB feature wish number 1: partial updating
Date Wed, 07 May 2008 17:33:03 GMT
On Tue, May 6, 2008 at 10:11 PM, Guby <guby.mail@gmail.com> wrote:
>> In REST it's necessary that PUT has paste over semantics (i.e. update
>> or insert if doesn't exist). Using it for partial updates is
>> incorrect. As the HTTP spec defines PUT with this semantics all the
>> clients, proxies, etc., assume it, so we have to follow it precisely.
>> OTOH the HTTP verbs are extensible so we can define our own verbs to
>> do operations with other semantics. There's already a PATCH proposal
>> allowing partial updates of resources, you can see a blog entry about
>> the issues (from the proposal author) here:
>> http://www.snellspace.com/wp/?p=894.
>>
>> Best regards,
>> Daniel Yokomizo.
>
> Thanks for the comment! I didn't think of the consequences when misusing the
> PUT verb.
> The PATCH method draft was posted in January, and the latest comment in the
> blog entry is from the end of february, does anybody know how far they have
> come?

Joe Gregorio seems to be trying it at Google
(http://bitworking.org/news/298/Considering-PATCH), but the whole
thing is still in flux.

> And is there a probability that PATCH will be implemented in CouchDB?
>
> Best regards
> Sebastian

Best regards,
Daniel Yokomizo.

Mime
View raw message