Re: overwrite and depth-0 locks

Geoffrey M Clemm <[email protected]>
Newsgroups gmane.ietf.webdav
Message-ID <OF20B0460C.E263EF3F-ON852572AC.007C78F9-852572AC.007F37FB@us.ibm.com>
All use cases below other than #1 require the locktoken.

Cheers,
Geoff

[email protected] wrote on 03/28/2007 04:17:04 PM:

> 
> Let's say you have resources /a/b and /c/d.  There is a depth-0 lock
> on collection /c
> 
> Of the following cases, which ones require the locktoken for the lock on 
/c?
> 
> 1.
> COPY /a/b
> Destination: /c/d
> Overwrite: T
> 
> 2.
> MOVE /a/b
> Destination: /c/d
> Overwrite: T
> 
> 3.
> REBIND /c
> Overwrite: T
> 
> <D:rebind xmlns:D="DAV:">
>    <D:segment>d</D:segment>
>    <D:href>/a/b</D:href>
> </D:rebind>
> 
> 4.
> BIND /c
> Overwrite: T
> 
> <D:bind xmlns:D="DAV:">
>    <D:segment>d</D:segment>
>    <D:href>/a/b</D:href>
> </D:bind>
> 
> I believe #1 does not require the locktoken.  I'm not sure about the
> other ones.
> 
> Thanks for the help.
> 
> -Tim
>
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.