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

New status code: unordered collection

From: Jim Whitehead <ejw@ics.uci.edu>
Date: Wed, 12 May 1999 11:08:43 -0700
To: WEBDAV WG <w3c-dist-auth@w3.org>
Message-ID: <001b01be9ca2$78f045c0$d115c380@ics.uci.edu>
In the current Advanced Collections specification, the 409 (Conflict) status
code is used for cases where the server cannot perform the client's request
to place a resource at a specific position in a collection because the
collection is unordered.  In my opinion, this is a good case for introducing
a new status code, say 425 (Unordered Collection).

409 is a sub-optimal choice because this status code is used by many
existing WebDAV methods, as well as new methods in the advanced collections
specification, for non-ordering related problems.  Since a client can, if it
knows the error is the result of the collection not being ordered, simply
re-submit the request without the Position header, having this case clearly
separated from other 409 cases would give the client this option.

I'm not sure whether this code should also be used for other positioning
errors (such as trying to place a resource after one that doesn't exist).
I'm tending to think it should not.

- Jim
Received on Wednesday, 12 May 1999 14:25:05 GMT

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