206 Partial Content

HTTP 206 Partial Content is a 2xx success status. The server is returning only the byte range the client asked for with a Range header.

206Status code
2xxSuccess
YesCacheable by default
RFC 9110 §15.3.7Defined in

Common causes

What to do

Make sure Content-Range and Accept-Ranges: bytes are correct, or players cannot seek.

Example response

HTTP/1.1 206 Partial Content
Content-Range: bytes 0-1023/146515
Content-Length: 1024
Accept-Ranges: bytes

Returning 206 in code

Express   res.status(206).json({ … });
Flask     return jsonify(…), 206
PHP       http_response_code(206);
Go        w.WriteHeader(206)

Other 2xx codes

Frequently asked questions

What does HTTP 206 mean?
The server is returning only the byte range the client asked for with a Range header.
Is 206 an error?
No. 2xx codes are success responses, not errors.