207 Multi-Status

A WebDAV response contains separate outcomes that must be read individually rather than collapsed into one success label.

All HTTP status codes

What does HTTP 207 mean?

A batch-style WebDAV exchange can report several results in one 207 document. Some entries may succeed while another path is missing, locked or inaccessible. The outer status describes the container, not a promise that every member operation worked. Parse the response according to the method being used and retain the failing resource paths for investigation.

An investigation example

Illustrative collection investigation
Outer response: 207 Multi-Status
/documents/a: 200
/documents/b: 423 Locked
Action: resolve the lock on b without repeating successful writes unnecessarily.
Verify: the required members all have the intended final state.

When this response is used

  • A WebDAV PROPFIND request lists properties for a collection and its members.
  • A batch operation succeeds on one resource but cannot access or modify another.

Diagnose the response

Inspect the response document for each resource and property that matters to the requested operation.

  • Parse each response or property status in the XML body and associate it with its href. Do not discard failures because the outer status begins with 2.
  • Resolve the specific failing condition, such as a lock or missing permission, before retrying only the affected operations where the client supports it.
  • Check the requested Depth and collection scope. A successful listing of the parent resource does not guarantee that every descendant was included or readable.

What it means for website monitoring

Do not turn every 207 into an all-clear. WebDAV monitoring needs to inspect the relevant member outcomes as well as whether the HTTP endpoint answered.

Reference