Re: Multistatus responses

Joe,

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.

Regards,

joe

--
Joe Orton
jeo101@york.ac.uk ... joe@orton.demon.co.uk
http://www.orton.demon.co.uk/

Received on Friday, 22 January 1999 13:49:07 UTC