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

Re: unlock question

From: Roy T. Fielding <fielding@ebuilt.com>
Date: Mon, 5 Mar 2001 00:24:26 -0800
To: "Clemm, Geoff" <gclemm@rational.com>
Cc: w3c-dist-auth@w3.org
Message-ID: <20010305002426.H7192@waka.ebuilt.net>
> 2616 states that 400 (Bad Request) means "malformed syntax".
> I believe that it is pretty clear that submitting
> the wrong lock token with an UNLOCK is not a "malformed
> syntax", and therefore mod_dav should not be returning
> a 400 in this case.  I'd use 403 (Forbidden).

I would use 423 (Locked).  412 should not have been used at all.
423 is sufficient to indicate that the lock token is not what the
server was looking for.

Received on Monday, 5 March 2001 03:27:21 GMT

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