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

PROPPATCH response with 201?

From: Lisa Dusseault <lisa@xythos.com>
Date: Wed, 5 Sep 2001 15:28:42 -0700
To: "Webdav WG" <w3c-dist-auth@w3c.org>
Message-ID: <HPELJFCBPHIPBEJDHKGKGEDFCMAA.lisa@xythos.com>

Greg & I find 2518 a little confusing on this issue:

"Status Codes for use with 207 (Multi-Status)

The following are examples of response codes one would expect to be used in
a 207 (Multi-Status) response for this method. Note, however, that unless
explicitly prohibited any 2/3/4/5xx series response code may be used in a
207 (Multi-Status) response.

200 (OK) - The command succeeded. As there can be a mixture of sets and
removes in a body, a 201 (Created) seems inappropriate. "

Why is 201 inappropriate inside a 207?  Wouldn't it be potentially useful to
a client to know when a property was created vs. modified?  If there's some
reason why 201 is inappropriate inside a 207 (which I can't see), then all
properties mods will be reported with a 200 OK.  Why not just use 200 OK for
the overall message response, omitting the body?  (remember PROPPATCH is
atomic)

If this just needs a mite of clarification, perhaps we can put it on the
issues list for 2518.

Lisa
Received on Wednesday, 5 September 2001 18:28:58 GMT

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