Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. HTTP response status codes
  5. 416 Range Not Satisfiable

416 Range Not Satisfiable

The HTTP416 Range Not Satisfiableclient error response status code indicates that a server could not serve the requested ranges.The most likely reason for this response is that the document doesn't contain suchranges, or that theRange header value, though syntactically correct, doesn't make sense.

The416 response message should contain aContent-Range indicating an unsatisfied range (that is a'*') followed by a'/' and the current length of the resource, e.g.,Content-Range: bytes */12777

When encountering this error, browsers typically either abort the operation (for example, a download will be considered non-resumable) or request the whole document again without ranges.

Status

http
416 Range Not Satisfiable

Examples

Malformed range request

The following request asks for a range of 1000-1999 bytes from a text file.The first position unit (1000) is larger than the actual resource on the server (800 bytes):

http
GET /files/prose.txt HTTP/1.1Host: example.comRange: bytes=1000-1999

The server supports range requests and sends back the current length of the selected representation in theContent-Range header:

http
HTTP/1.1 416 Range Not SatisfiableDate: Fri, 28 Jun 2024 11:40:58 GMTContent-Range: bytes */800

Specifications

Specification
HTTP Semantics
# status.416

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp