W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > July to September 2002

RE: Marshalling Depth > 0 responses for REPORTs, WAS: Replacing t he Label header with a DAV:labeled-version report

From: Julian Reschke <julian.reschke@greenbytes.de>
Date: Thu, 15 Aug 2002 14:46:23 +0200
To: <ietf-dav-versioning@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCKEGAFCAA.julian.reschke@greenbytes.de>

Sorry,

problem doesn't go away :-)

>    Related question of the day: what's the response format for the
>    version-tree report with depth: 1 applied to a collection that
>    itself is not versioned but contains one version controlled member?
>
>    For depth 0 I'd expect:
>    409 CONFLICT
>    with
>    <error xmlns="DAV:"><supported-report/></error>
>
> Sounds right.
>
>
>    So for depth 1 one would get:
>    207 MULTISTATUS
>    <multistatus xmlns="DAV:">
>      <response>
>        <href>/collection/</href>
>        <status>HTTP/1.1 409 Conflict</status>
>        <responsedescription><error><supported-report/>
>          </error></responsedescription> </response>
>      <response>
>        <href>/collection/a</href>
>        <propstat>
> 	 <prop>
> 	 ...now what?...
> 	 </prop>
> 	 <status>HTTP/1.1 200 OK</status>
>        </propstat>
>      </response>
>    </multistatus>
>
> Yes.


So,

assume we do a depth: infinity REPORT locate-by-history. This report is
defined for collections only, so it must return FORBIDDEN for all
non-collection resources it is applied to. This suggests that in the case of
depth: infinity, I will get a

<response>
    <href>...</href>
    <status>HTTP/1.1 403 Forbidden</status>

<responsedescription><error><supported-report/></error></responsedescription
> </response>
<response>

element for every single non-collection resource in the namespace below the
request URI. Is this really intended???

Julian
Received on Thursday, 15 August 2002 08:47:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:43 GMT