topic
Verified 2026-09-18Range Requests
Range requests let a client retrieve part of a representation.
Use Range with Accept-Ranges and Content-Range for resumable downloads, media seeking, and large-file reads. Return 206 for a satisfiable range and 416 for an invalid one.
httpdownloadsmediapartial-content
Reference (http)
Range: bytes=1000-1999 HTTP/1.1 206 Partial Content Content-Range: bytes 1000-1999/5000
Use Range with Accept-Ranges and Content-Range for resumable downloads, media seeking, and large-file reads. Return 206 for a satisfiable range and 416 for an invalid one.
Common mistakes
- Combining ranges from different representation versions or treating a range request as an authorization check.
Sources