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

Re: Multistatus responses

From: <jamsden@us.ibm.com>
Date: Fri, 22 Jan 1999 13:41:45 -0500
To: Joe Orton <jeo101@york.ac.uk>
cc: w3c-dist-auth@w3.org
Message-ID: <85256701.00675663.00@d54mta03.raleigh.ibm.com>


It is my understanding that methods only return a multistatus when they
effect multiple resources. So for example, you could DELETE a collection
and get a multistatus if it failed indicating which resource in the
collection couldn't be deleted. If the DELETE failed because the collection
itself was locked, then you could also return a single status as the
members were unaffected. Similarly, if the method succeeded, you would just
get a 200 status code for the whole operation.

Joe Orton <jeo101@york.ac.uk> on 01/22/99 01:30:05 PM

To:   w3c-dist-auth@w3.org
cc:    (bcc: Jim Amsden/Raleigh/IBM)
Subject:  Multistatus responses

Just wondering why it's necessary to use the specific 207 response code
for *all* multi-status responses - why can't a more meaningful code be
used as appropriate? For instance, when a multi-status response is needed
if MOVE or DELETE fails, use a 4xx class response. It still bugs me that a
2xx class code is used for methods which fail.



Joe Orton
jeo101@york.ac.uk ... joe@orton.demon.co.uk
Received on Friday, 22 January 1999 13:49:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:16 UTC