207 Multi-Status

WebDAV response carrying an XML body with a separate status for each resource affected by the request.

Status

HTTP/1.1 207 Multi-Status

Details

One WebDAV request can touch many resources, and they will not all end the same way. 207 wraps the individual outcomes in a DAV:multistatus XML document, one DAV:response element per URL, each with its own status line.

The 207 on the status line itself carries no success or failure meaning. A request in which every member failed still returns 207, so a client must parse the body to know what actually happened.

Headers

Common causes

How to fix it

As the client

As the server

Examples

PROPFIND /dav/team/ HTTP/1.1
Host: files.example.com
Depth: 1

HTTP/1.1 207 Multi-Status
Content-Type: application/xml; charset=utf-8

<?xml version="1.0"?>
<D:multistatus xmlns:D="DAV:">
  <D:response>
    <D:href>/dav/team/notes.txt</D:href>
    <D:status>HTTP/1.1 200 OK</D:status>
  </D:response>
  <D:response>
    <D:href>/dav/team/locked.txt</D:href>
    <D:status>HTTP/1.1 423 Locked</D:status>
  </D:response>
</D:multistatus>

Specifications

RFC 4918 §11.1

See also