Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. HTTP response status codes
  5. 208 Already Reported

208 Already Reported

The HTTP208 Already Reportedsuccessful response status code is used in a207 Multi-Status response to save space and avoid conflicts.This response is used exclusively in the context of Web Distributed Authoring and Versioning (WebDAV).

If the same resource is requested several times (for example, as part of a collection) with different paths, only the first one is reported with200.Responses for all other bindings will report with this208 status code, so no conflicts are created and the response stays shorter.

Note:The ability tobind a resource to several paths is an extension to theWebDAV protocol (it may be received by web applications accessing a WebDAV server).Browsers accessing web pages will never encounter this status code.

Status

http
208 Already Reported

Examples

Receiving a208 in a207 Multi-Status response

The following is a sample207 Multi-Status response from a WebDAV server, which includes a208 response.Notice the208 in the last<D:status> element, which indicates that the resource namedLoop Demo has been reported earlier in the207 response.

http
HTTP/1.1 207 Multi-StatusContent-Type: application/xml; charset="utf-8"Content-Length: 1241<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">  <D:response>    <D:href>http://www.example.com/Coll/</D:href>    <D:propstat>      <D:prop>        <D:displayname>Loop Demo</D:displayname>        <D:resource-id>          <D:href>urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf8</D:href>        </D:resource-id>      </D:prop>      <D:status>HTTP/1.1 200 OK</D:status>    </D:propstat>  </D:response>  <D:response>    <D:href>http://www.example.com/Coll/Foo</D:href>    <D:propstat>      <D:prop>        <D:displayname>Bird Inventory</D:displayname>        <D:resource-id>          <D:href>urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf9</D:href>        </D:resource-id>      </D:prop>      <D:status>HTTP/1.1 200 OK</D:status>    </D:propstat>  </D:response>  <D:response>    <D:href>http://www.example.com/Coll/Bar</D:href>    <D:propstat>      <D:prop>        <D:displayname>Loop Demo</D:displayname>        <D:resource-id>          <D:href>urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf8</D:href>        </D:resource-id>      </D:prop>      <D:status>HTTP/1.1 208 Already Reported</D:status>    </D:propstat>  </D:response></D:multistatus>

Specifications

Specification
Unknown specification
# section-7.1

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp