MDN Plus now available in your country! Support MDN and make it your own. Learn more

Content-Range

The Content-Range response HTTP header indicates where in a full body message a partial message belongs.

Syntax

Content-Range: <unit> <range-start>-<range-end>/<size>
Content-Range: <unit> <range-start>-<range-end>/*
Content-Range: <unit> */<size>

Directives

<unit>

The unit in which ranges are specified. This is usually bytes.

<range-start>

An integer in the given unit indicating the start position (zero-indexed & inclusive) of the request range.

<range-end>

An integer in the given unit indicating the end position (zero-indexed & inclusive) of the requested range.

<size>

The total length of the document (or '*' if unknown).

Examples

Content-Range: bytes 200-1000/67589

Specifications

Specification
HTTP Semantics
# field.content-range

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
Content-Range

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also

Cached: Content-Range - HTTP | MDN

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range

This is a cached page of the above url, please refer to the original page if it is not offline.

Snapshot was generated on 15 September 2022. (2022/09/15 at 10:28:04 +0000 UTC)

MrWaggel.be