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

RE: mutlistatus xml

From: Jim Whitehead <ejw@ics.uci.edu>
Date: Thu, 6 Aug 1998 17:05:27 -0700
To: dug@us.ibm.com, WEBDAV WG <w3c-dist-auth@w3.org>
Message-ID: <000c01bdc197$1558b740$d115c380@galileo.ics.uci.edu>

> -----Original Message-----
> From: Doug Davis [mailto:dug@us.ibm.com]
> Sent: Wednesday, August 05, 1998 6:16 AM
> To: w3c-dist-auth@w3.org
> Subject: [Spam?] mutlistatus xml
> Hope this isn't a stupid question but do all responses from a WebDAV
> server have to be 207 Multi-status Responses?
> -Dug

This is actually a question that comes up fairly frequently.

All responses from a WebDAV server do *not* have to be 207 Multi-Status
responses.  In cases where the scope of a method invocation is a whole,
single resource (or for MOVE and COPY, a single source-destination pair),
then use of regular HTTP response codes is encouraged.

For example, if I perform a successful UNLOCK, then I would expect to
receive a 204 No Content response (as is shown in section 7.11.1).
Similarly, sections 7.10.8 and 7.10.9 show an example of a LOCK on a single
resource where the response is a 200 OK. Section 7.9.5 shows a MOVE of a
single resource, where the response is a 201 Created, instead of a
Multi-Status, and section 7.8.6 shows a COPY with a 204 No Content response.

- Jim
Received on Thursday, 6 August 1998 20:17:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:17 UTC