« Return to Thread: Collection Synchronization for WebDAV

PROPFIND/REPORT on non existing resource/collection

by Arnaud Quillaud :: Rate this Message:

Reply to Author | View in Thread


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




 « Return to Thread: Collection Synchronization for WebDAV