HTTP 207 Multi-Status

A WebDAV response that conveys information about multiple resources.

2xx Success

207

Multi-Status

Description

The 207 Multi-Status status code provides status for multiple independent operations. Although 200 would be used as the overall response status code, the caller needs to consult the contents of the multistatus response body for further information about the success or failure of the method execution. The response body is a text/xml or application/xml HTTP entity with a multistatus root element. Each element in the body contains information about an individual operation, including the status code for each. This is part of the WebDAV specification and is used when a single request affects multiple resources.

When Is It Used?

Used in WebDAV operations that affect multiple resources, such as a PROPFIND request that retrieves properties of a collection, or a batch operation where each sub-operation may succeed or fail independently.

Example Response

HTTP/1.1 207 Multi-Status
Content-Type: application/xml

<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:">
  <d:response>
    <d:href>/file1</d:href>
    <d:status>HTTP/1.1 200 OK</d:status>
  </d:response>
</d:multistatus>

Look Up Any Status Code

Browse all status codes