Accept-Ranges |
|
|
|
The Accept-Ranges header differs from the other Accept headersit is a response header used by servers to tell clients whether they accept requests for ranges of a resource. The value of this header tells what type of ranges, if any, the server accepts for a given resource.
A client can attempt to make a range request on a resource without having received this header. If the server does not support range requests for that resource, it can respond with an appropriate status code[2]and the Accept-Ranges value "none". Servers might want to send the "none" value for normal requests to discourage clients from making range requests in the future.
[2] For example, status code 416 (see Section 3.4.4).
Chapter 17 contains a complete description of the Accept-Ranges header.
Response header
Accept-Ranges: 1# range-unit | none
Accept-Ranges: none
Accept-Ranges: bytes