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

response marshalling in RFC2518, section 8.10.10

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 9 Jul 2002 15:19:24 +0200
To: <w3c-dist-auth@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCGEKDEOAA.julian.reschke@gmx.de>

(sorry, operator error)

The example response is:

   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/secret</D:href>
          <D:status>HTTP/1.1 403 Forbidden</D:status>
     </D:response>
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/</D:href>
          <D:propstat>
               <D:prop><D:lockdiscovery/></D:prop>
               <D:status>HTTP/1.1 424 Failed Dependency</D:status>
          </D:propstat>
     </D:response>
   </D:multistatus>

and the spec says furthermore:

"In this example the lockdiscovery property is empty which means that there
are no outstanding locks on the resource."

What's the point in returning the DAV:lockdiscovery property if it will
always be empty (otherwise a 200 would have been returned). And shouldn't
the response better be:

   <?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/secret</D:href>
          <D:status>HTTP/1.1 403 Forbidden</D:status>
     </D:response>
     <D:response>
          <D:href>http://webdav.sb.aol.com/webdav/</D:href>
          <D:status>HTTP/1.1 424 Failed Dependency</D:status>
     </D:response>
   </D:multistatus>

...because the error condition applies to the complete resource, not a
specific property?



[1] <http://greenbytes.de/tech/webdav/rfc2518.html#rfc.section.8.10.10>
Received on Tuesday, 9 July 2002 09:19:34 GMT

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