Re: Question about WebDAV MOVE/COPY with Overwrite header true

Till Niese wrote:
> 
> Hello,
> 
> I'm currently working on a WebDAV Server implementation in php.
> But i'm unsure about the correct behavior of MOVE and COPY with 
> Overwrite true and Depth infinity of a collection to a destination that 
> already exists.
> What will be the correct behavior if there is a collection or resource 
> inside the destination collection that can't be deleted cause of a lock 
> or missing permissions.
> Will the complete MOVE or COPY fail cause the DELETE on the destination 
> failed ?

It depends on the implementation. WebDAV only requires best effort.

> And if the MOVE or COPY fails should the same Multistatus header a 
> DELETE with "Depth: infinity" on this collection would return, be 
> returned ?

That's the case shown in 
<http://greenbytes.de/tech/webdav/rfc4918.html#rfc.section.9.8.8>, isn't it?

BR, Julian

Received on Tuesday, 5 August 2008 06:21:56 UTC