W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2005

Re: [Bug 23] lock discovery vs shared locks

From: Lisa Dusseault <lisa@osafoundation.org>
Date: Wed, 16 Nov 2005 16:43:12 -0800
Message-Id: <9f42511bad90545e98a9d4963fb1a342@osafoundation.org>
To: Julian Reschke <julian.reschke@gmx.de>, webdav WG <w3c-dist-auth@w3.org>

Julian, do these data points affect your conclusion?

thanks,
Lisa

On Nov 16, 2005, at 2:05 PM, Jim Luther wrote:

>
> On Nov 16, 2005, at 12:28 AM, Julian Reschke wrote:
>
>>> the LOCK response body, doesn't that mean that the lock token is 
>>> returned both in the LOCK response headers (Lock-Token) and body?
>>
>> It may, but clients can not rely on it.
>
> The Mac OS X WebDAV file system client gets the locktoken out of the 
> response body when it creates a new lock. My guess (since this code 
> was written before I started working on anything WebDAV related) is 
> that it was done because:
>
> * rcf2518 section 8.10.1 
> <http://greenbytes.de/tech/webdav/rfc2518.html#rfc.section.8.10.1> 
> says, "The response MUST contain the value of the lockdiscovery 
> property in a prop XML element."
>
> * the example given in rcf2518 section 8.10.8 
> <http://greenbytes.de/tech/webdav/rfc2518.html#rfc.section.8.10.8> 
> does not show a Lock-Token response header in the response.
>
> Of course, the Mac OS X WebDAV file system client can be changed in 
> some future release to use the Lock-Token response header (and I just 
> wrote up a bug report to make sure that happens). However, if a server 
> wants to interoperate with existing versions of the Mac OS X WebDAV 
> file system client, they'll need to return the the locktoken in the 
> body.
>
> - Jim
>
Received on Thursday, 17 November 2005 00:43:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:11 GMT