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

RE: rfc2518 issue: LOCK_NULL_STATUS_CREATION

From: Jason Crawford <ccjason@us.ibm.com>
Date: Tue, 14 Aug 2001 14:01:41 -0400
To: <w3c-dist-auth@w3.org>
Message-ID: <OF920856D9.8FB99EAB-ON85256AA8.0061EA13@pok.ibm.com>



I'm marking the following issue:

What status code should be returned when a lock null resource is created ?
200 OK or 201 Created? A related issue is what status code should be
returned by a PUT or MKCOL on a lock-null resource? MKCOL is defined to be
201, PUT could be 200 or 201 (201 seems like a slightly better choice).

...as resolved by our apparent consensus on the addition of the following
wording for a status code for LOCK requests...

201 (Created) - The lock request succeeded by creating a new resource
and the value of the lockdiscovery property is included in the body.


Discussion in the thread that includes the following posting by Stefan...

http://lists.w3.org/Archives/Public/w3c-dist-auth/2001JulSep/0129.html


------------------------------------------
Phone: 914-784-7569,   ccjason@us.ibm.com
Received on Tuesday, 14 August 2001 14:06:29 GMT

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