[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DAV locking question

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-11-04 09:58:51 CET

Ben Collins-Sussman wrote:
> This question is mainly for Julian Reschke:
> If a DAV client locks a NULL resource (one that doesn't exist), is a
> parent directory deletable?

Two-part answer.

1) RFC2518's special handling of "lock null" resources will be
deprecated in RFC2518bis. So absolutely no need to worry about special
cases. Treat them as locks on empty resources (as if a PUT with no body
was done immediately before the LOCK).

2) That being said; the parent directory will only be deletable if you
submit the lock token with the DELETE request (both with standard
locking semantics and the special cases defined by RFC2518 for "lock
null" resources).

for the latest and greatest summary of locking semantics that the WebDAV
WG has produced so far.

Best regards, Julian

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 4 09:59:23 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.