HTTP 207 Multi-Status

Each of four items in front of the server has its own success or warning mark

HTTP 207 Multi-Status wraps the outcomes of work involving multiple WebDAV resources or properties. The client reads the XML response, associates each result with its resource URI and checks its status.

Read beyond the outer status

A request can successfully retrieve properties for one item while a second item returns a property error. Look for each href and its status or propstat entries. A client that checks only the outer 207 can miss a failed operation.

Checking a WebDAV path through a proxy

Repeat the same request with a WebDAV client that displays individual outcomes. Compare the XML and the response content type on both paths. Investigate only the resources or properties that failed, and keep their paths with the status when asking the server operator for help.

Inspect a property failure inside a successful envelope

HTTP/1.1 207 Multi-Status

/files/manual.pdf   getetag     200 OK
/files/manual.pdf   owner       404 Not Found

This example shows the information a WebDAV client might extract from a PROPFIND result. The same resource can have different outcomes for different properties. A 404 next to the owner property describes that property. Before changing the file’s path or access rules, check which XML element contains the code and associate it with its property and resource.

Compare the resources and statuses when proxying a request

Send the same WebDAV method, depth and property request on a direct connection and through the proxy. Compare the returned resource identifiers and individual statuses. An outer 207 on both paths can conceal a difference in one item. If the body appears truncated, check the received size and the proxy’s response limits before interpreting a missing entry as a failed operation. For a write, save the per-item outcome and verify the affected resources before retrying anything.

RFC 4918.

All HTTP status codes · All proxy testing guides · Open the proxy tester