RFC 2518 WEBDAV February 1999
HTTP/1.1 403 Forbidden
<D:responsedescription> The user does not have access to
the DingALing property.
</D:responsedescription>
</D:propstat>
</D:response>
<D:responsedescription> There has been an access violation error.
</D:responsedescription>
</D:multistatus>
In this example, PROPFIND is executed on a non-collection resource
http://www.foo.bar/file. The propfind XML element specifies the name
of four properties whose values are being requested. In this case
only two properties were returned, since the principal issuing the
request did not have sufficient access rights to see the third and
fourth properties.
8.1.2 Example - Using allprop to Retrieve All Properties
>>Request
PROPFIND /container/ HTTP/1.1
Host: www.foo.bar
Depth: 1
Content-Type: text/xml; charset="utf-8"
Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
</D:propfind>
>>Response
HTTP/1.1 207 Multi-Status
Content-Type: text/xml; charset="utf-8"
Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
http://www.foo.bar/container/
<D:prop xmlns:R="http://www.foo.bar/boxschema/">
Box type A
RFC 2518 WEBDAV February 1999
Hadrian
<D:creationdate>
1997-12-01T17:42:21-08:00
</D:creationdate>
<D:displayname>
Example collection
</D:displayname>
<D:resourcetype><D:collection/></D:resourcetype>
<D:supportedlock>
<D:lockentry>
<D:lockscope><D:exclusive/></D:lockscope>
</D:locktype>
</D:lockentry>
<D:lockentry>
<D:lockscope></D:lockscope>
</D:locktype>
</D:lockentry>
</D:supportedlock>
HTTP/1.1 200 OK
</D:propstat>
</D:response>
http://www.foo.bar/container/front.html
<D:prop xmlns:R="http://www.foo.bar/boxschema/">
Box type B
<D:creationdate>
1997-12-01T18:27:21-08:00
</D:creationdate>
<D:displayname>
Example HTML resource
</D:displayname>
<D:getcontentlength>
4525
=15= |