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.
In this article
Status
416 Range Not SatisfiableExamples
>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):
GET /files/prose.txt HTTP/1.1Host: example.comRange: bytes=1000-1999The server supports range requests and sends back the current length of the selected representation in theContent-Range header:
HTTP/1.1 416 Range Not SatisfiableDate: Fri, 28 Jun 2024 11:40:58 GMTContent-Range: bytes */800Specifications
| Specification |
|---|
| HTTP Semantics> # status.416> |