Skip to content

fix multistatus body #4

@pieterb

Description

@pieterb

I found the following multistatus response:

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
  <D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/" xmlns:g0="DAV:">
    <D:href>/</D:href>
    <D:propstat>
      <D:prop>
        <lp1:getlastmodified>Mon, 18 Mar 2013 15:13:14 GMT</lp1:getlastmodified>
        <lp1:creationdate>2013-03-18T15:13:14Z</lp1:creationdate>
        <lp1:resourcetype><D:collection/></lp1:resourcetype>
      </D:prop>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
      <D:prop>
        <g0:getcontentlength/>
      </D:prop>
      <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
  </D:response>
  <D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/">
    <D:href>/.DS_Store</D:href>
    <D:propstat>
      <D:prop>
        <lp1:getlastmodified>Mon, 18 Mar 2013 15:13:14 GMT</lp1:getlastmodified>
        <lp1:getcontentlength>12292</lp1:getcontentlength>
        <lp1:creationdate>2013-03-18T15:13:14Z</lp1:creationdate>
        <lp1:resourcetype/>
      </D:prop>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
  </D:response>
  <D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/">
    <D:href>/._.DS_Store</D:href>
    <D:propstat>
      <D:prop>
        <lp1:getlastmodified>Thu, 14 Mar 2013 16:11:41 GMT</lp1:getlastmodified>
        <lp1:getcontentlength>4096</lp1:getcontentlength>
        <lp1:creationdate>2013-03-14T16:11:41Z</lp1:creationdate>
        <lp1:resourcetype/>
      </D:prop>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
  </D:response>
</D:multistatus>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions