W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2008

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

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 05 Aug 2008 08:21:12 +0200
Message-ID: <4897F158.5000107@gmx.de>
To: Till Niese <t.niese@gmail.com>
CC: w3c-dist-auth@w3.org

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:43 UTC