Content-Range
ResponseActiveThe Content-Range header is sent with 206 Partial Content responses. It describes which portion of the full resource is included in the response body – the byte range and the total resource size. Also returned with 416 Range Not Satisfiable when the requested range is invalid.
Content-Range: bytes <start>-<end>/<total> | bytes */<total>
Description
Content-Range tells the client exactly which bytes are in the response body and the total size of the complete resource. The format is 'bytes <start>-<end>/<total>'. If the total is unknown (streaming), it can be written as '*'. Content-Range allows clients to assemble multiple partial responses into a complete file or validate download progress.
Examples
Partial response
http
HTTP/1.1 206 Partial Content
Content-Range: bytes 1048576-2097151/52428800
Content-Length: 1048576
Content-Type: video/mp4Range not satisfiable
http
HTTP/1.1 416 Range Not Satisfiable
Content-Range: bytes */52428800