Re: draft-murchison-webdav-prefer

On 12/18/2014 10:55 AM, Julian Reschke wrote:
> On 2014-12-18 16:23, Ken Murchison wrote:
>> All,
>>
>> I'd like to get some feedback on draft-murchison-webdav-prefer
>> <http://tools.ietf.org/html/draft-murchison-webdav-prefer-07> ,
>> specifically Section 3
>> <http://tools.ietf.org/html/draft-murchison-webdav-prefer-07#section-3>
>> (the rest of the document is truly WebDAV specific).  Per a request from
>> the Apple calendar client folks, we'd like to extend
>> Prefer:return=representation
>> <http://tools.ietf.org/html/rfc7240#section-4.2> to apply to a
>> conditional PUT request that fails with a 412 (Precondition Failed)
>> response.  This eliminates the need for a subsequent GET to fetch the
>> current representation of a resource that failed to update because of a
>> validator mismatch.  I view this as analogous to Get + If-Range.
>> ...
>
> To make this useful, the response would also need to return the new 
> ETag, right?

Yes.  That is shown in the example, but I can add text to reinforce that 
point if you feel its necessary.

On another note, I'm assuming since the representation corresponds to 
the request URI, that Content-Location isn't required, correct?

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University

Received on Thursday, 18 December 2014 15:59:03 UTC