W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2000

Q: does this use of 424 seem reasonable?

From: Greg Stein <gstein@lyra.org>
Date: Wed, 31 May 2000 12:16:25 -0700 (PDT)
To: w3c-dist-auth@w3.org
Message-ID: <Pine.LNX.4.10.10005311212010.30220-100000@nebula.lyra.org>
Hi all...

One more question: in the current mod_dav architecture, I am unable to do
a "best effort" delete/move/copy when a lock exists somewhere in the
affected resources. As a result, the only real option available is to fail
the entire request.

However, this would effectively mean returning a 207 (Multistatus) that
contains an entry for every single resource stating (in some way) that it
was not deleted/moved/copied.

I would much rather do the following:

*) return 424 (Failed Dependency)
*) include a body in the 424 response, which contains a DAV:multistatus
   element which refers to the locked resource

Does this seem reasonable?


p.s. and no, fixing it to do best-effort is not an option

Greg Stein, http://www.lyra.org/
Received on Wednesday, 31 May 2000 15:16:26 UTC

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