What it means
The server is sending only part of the resource, matching the Range header in the request. Content-Range says which bytes are included and the total size.
If several ranges were requested, the body is multipart/byteranges.
Why you're seeing it
- Video and audio players seeking within a file.
- Download managers resuming or splitting a download.
- PDF viewers loading pages on demand.
How to fix it
- Advertise support with
Accept-Ranges: bytes. - Send an
ETagand honourIf-Range, so clients don't stitch together pieces of two different versions.
Example response
HTTP/1.1 206 Partial Content Content-Range: bytes 0-1023/146515 Content-Length: 1024 Content-Type: video/mp4