Re: unlock question

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 UTC