Re: How to do a MoveMethod with locks

Julian Reschke <[email protected]> Tue, 01 May 2007 17:43:18 +0200
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Stephen Martin wrote:
> I can not get this to work without adding the url to the If header, the 
> server always responds with a 424 error. Experimenting with cadaver in
> debug mode, i found that it likes the tagged version. I've also 
> discovered that in order to do the move when both the source and the 
> destination are locked, the If: header needs both lock tokens provided 
> in the tagged version. Unfortunately the way that the slide code is 
> organized, there seems to be no easy way to augment this header for the 
> destination.
> 
> The requirement for the tagged version of the header maybe a bug in 
> mod_dav/mod_svn I don't know.

You need the tagged-list form when you need to provide a lock token 
which is not for the Request-URI, which of course is the case if yiu 
lock the target folder...

Best regards, Julian