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

PROPFIND/REPORT on non existing resource/collection

From: Arnaud Quillaud <Arnaud.Quillaud@Sun.COM>
Date: Wed, 08 Aug 2007 18:06:49 +0200
To: w3c-dist-auth@w3.org
Message-id: <0JMG003EXQ2CXO1U@d1-emea-09.sun.com>

Hello,

When issuing a PROPFIND or REPORT with a Request URI that does not exist, what should be returned:
- a 404 Not Found ?
- or a 207 multistatus containing a single response + href + status = 404 (e.g. <DAV:response><DAV:href>/toto/</DAV:href><DAV:status>404 Not Found</DAV:status></DAV:response>) ?

The only indication that I have found comes from the REPORT method definition where it is stated (http://tools.ietf.org/html/rfc3253#section-3.6): "If a Depth request header is included, the response MUST be a 207 Multi-Status.".

Thanks,

Arnaud Q
Received on Wednesday, 8 August 2007 16:08:45 GMT

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