The Content-Range
response HTTP header indicates where in a full body message a partial message belongs.
Header type | Response header, Payload header |
---|---|
Forbidden header name | no |
CORS-safelisted response-header | no |
The Content-Range
response HTTP header indicates where in a full body message a partial message belongs.
Header type | Response header, Payload header |
---|---|
Forbidden header name | no |
CORS-safelisted response-header | no |
Content-Range: <unit> <range-start>-<range-end>/<size> Content-Range: <unit> <range-start>-<range-end>/* Content-Range: <unit> */<size>
The unit in which ranges are specified. This is usually bytes
.
An integer in the given unit indicating the start position (zero-indexed & inclusive) of the request range.
An integer in the given unit indicating the end position (zero-indexed & inclusive) of the requested range.
The total length of the document (or '*'
if unknown).
Content-Range: bytes 200-1000/67589
Specification |
---|
HTTP Semantics # field.content-range |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
Content-Range |
Yes |
12 |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
If-Range
Range
Content-Type
206
Partial Content
416
Range Not Satisfiable
© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range