2xx Success
HTTP 207 Multi-Status
The message body contains an XML status with multiple status codes for sub-operations.
When is 207 used?
- WebDAV batch operations
- Bulk API requests with per-item results
How to handle a 207 response
No error handling is needed. Check that the response body and headers match what your client expects — for example, a 204 response has no body.
Check the status code a URL returns from the command line:
curl -s -o /dev/null -w "%{http_code}\n" https://example.comHow to return 207 from your server
Node.js (Express)
res.status(207).json({ message: 'Multi-Status' });Python (Flask)
return {"message": "Multi-Status"}, 207Go (net/http)
w.WriteHeader(207)Frequently Asked Questions
What does HTTP 207 mean?
207 Multi-Status: The message body contains an XML status with multiple status codes for sub-operations.
Is 207 an error?
No. 207 is in the 2xx Success class. Success: the request was received, understood, and accepted.