HTTP 206 Partial Content
The server is delivering only part of the resource due to a range request.
2xx Success
206
Partial Content
Description
The 206 Partial Content status code indicates that the server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the request's Range header field. If a single part is being transferred, the server generating the 206 response must generate a Content-Range header field describing what range of the selected representation is enclosed, and a payload consisting of the range. If multiple parts are being transferred, the server generating the 206 response must generate a multipart/byteranges payload and a Content-Type header field containing the multipart/byteranges media type.
When Is It Used?
Used for resumable downloads, video streaming, and large file transfers. A client requests a specific byte range of a file (e.g., bytes 1000-2000), and the server responds with 206 containing just that portion.
Example Response
HTTP/1.1 206 Partial Content
Content-Range: bytes 0-999/8000
Content-Length: 1000
Content-Type: video/mp4