HTTP

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.

Ключевые различия

1.

HTTP 207: The response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV).

2.

HTTP 208: Used inside a DAV: propstat response element to avoid enumerating internal members of multiple bindings to the same collection repeatedly.

3.

You encounter 207 when in WebDAV operations that affect multiple resources simultaneously.

4.

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.

Узнать больше