List Info

Thread: PROPFIND/REPORT on non existing resource/collection




PROPFIND/REPORT on non existing resource/collection
country flaguser name
United States
2007-08-08 11:06:49
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>&
lt;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





Re: PROPFIND/REPORT on non existing resource/collection
country flaguser name
Germany
2007-08-08 15:11:27
Arnaud Quillaud wrote:
> Hello,
> 
> When issuing a PROPFIND or REPORT with a Request URI
that does not exist, what should be returned:
> - a 404 Not Found ?

Yes.

> - or a 207 multistatus containing a single response +
href + status = 404 (e.g.
<DAV:response><DAV:href>/toto/</DAV:href>&
lt;DAV:status>404 Not
Found</DAV:status></DAV:response>) ?

Should be equivalent.

> 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.".

I guess we need to clarify that when we move REPORT into a
separate spec.

Best regards, Julian


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )