Re: diff + HTTP PATCH == wrong?

Julian Reschke <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <[email protected]>
On 2012-07-26 17:44, Philippe Rathé wrote:
> Hi,
>
> does anyone sees applying a changeset to a resource as a complete
> replacement? I use to think that.
>
> I see devs blindly associating diff-like media with PATCH because of
> the largely popular diff/patch utility pair. IMO PUT should be use.
> Another reason is that diff resolution is a good candidate for
> idempotency.
> ...

"... Partial content updates are possible by targeting a separately 
identified resource with state that overlaps a portion of the larger 
resource, or by using a different method that has been specifically 
defined for partial updates (for example, the PATCH method defined in 
[RFC5789])."

-- 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-20.html#rfc.section.2.3.5.p.10>

Best regards, Julian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.