HTTP 207 Multi-Status vs 208 Already Reported
Both HTTP 207 (Multi-Status) and 208 (Already Reported) belong to the 2xx Success category. 207 indicates that the response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV). Meanwhile, 208 means that used inside a DAV: propstat response element to avoid enumerating internal members of multiple bindings to the same collection repeatedly.
説明
The response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV).
このコードが表示される場合
In WebDAV operations that affect multiple resources simultaneously.
解決方法
Parse the XML body to check the status of each individual resource.
説明
Used inside a DAV: propstat response element to avoid enumerating internal members of multiple bindings to the same collection repeatedly.
このコードが表示される場合
In WebDAV responses to avoid duplicate listings.
解決方法
No fix needed. This prevents redundant data in multi-status responses.
主な違い
HTTP 207: The response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV).
HTTP 208: Used inside a DAV: propstat response element to avoid enumerating internal members of multiple bindings to the same collection repeatedly.
You encounter 207 when in WebDAV operations that affect multiple resources simultaneously.
You encounter 208 when in WebDAV responses to avoid duplicate listings.
どちらをいつ使うか
For 207 (Multi-Status): Parse the XML body to check the status of each individual resource. For 208 (Already Reported): No fix needed. This prevents redundant data in multi-status responses.