W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2002

need clarification about COPY to locked resource response code

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 25 Jan 2002 13:36:42 +0100
To: "WebDAV" <w3c-dist-auth@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCIEBJDOAA.julian.reschke@gmx.de>

when running the Litmus test suite against our server, we came across the
following problem for lock test 8 (COPY):

In this test case, a non-locked resource is copied to a locked resource
without giving the lock token in the If: header.

Litmus expects the server to return 423 LOCKED (and this is what moddav

Both our server and IIS however return a 207 MULTISTATUS, and have a
response element for the *destination URI* with an 423 LOCKED status.

I think the latter is correct, because the problem isn't with the request

In the section about COPY behaviour for *collections*, RFC2518 says [1]:

"If an error in executing the COPY method occurs with a resource other than
the resource identified in the Request-URI then the response MUST be a 207

I think this should apply to copying non-collections as well.


[1] <http://www.greenbytes.de/tech/webdav/rfc2518.html#rfc.section.8.8.3>
Received on Friday, 25 January 2002 07:37:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:24 UTC