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

Re: unlock question

From: Greg Stein <gstein@lyra.org>
Date: Thu, 1 Mar 2001 13:27:41 -0800
To: "Pill, Juergen" <Juergen.Pill@softwareag.com>
Cc: "'w3c-dist-auth@w3.org'" <w3c-dist-auth@w3.org>
Message-ID: <20010301132741.W2297@lyra.org>
On Thu, Mar 01, 2001 at 04:14:35PM +0100, Pill, Juergen wrote:
> 
> What should a Webdav enabled server return in case of the unlock method and
> a provided lock token, which does not exist (for this resource)?
> Assuming the resource is already locked, would it be OK to return a 204 (no
> content) or would be an error message better (which one)?

mod_dav returns 400 (Bad Request) whether the resource has other locks on it
or not. The client should have submitted an UNLOCK with a proper lock token.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Thursday, 1 March 2001 16:30:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:55 GMT