HTTP 206 Partial Content
HTTP 206 Partial Content means the server is returning only part of the resource because the client asked for a byte range with a Range header.
Quick answer
HTTP 206 Partial Content means the server is returning only part of the resource because the client asked for a byte range with a Range header. It powers video seeking, audio streaming, resumable downloads and parallel download managers.
Last updated · Maintained by FreeAIToolz · How we test
What does HTTP 206 Partial Content mean?
The response includes a Content-Range header such as bytes 0-1023/146515 describing which slice was sent. Servers advertise range support with Accept-Ranges: bytes. If the requested range cannot be served, the server returns 416 Range Not Satisfiable.
| Status code | 206 |
|---|---|
| Name | Partial Content |
| Class | 2xx Success |
| Defined in | RFC 9110 §15.3.7 |
| Cacheable by default | Yes (heuristically cacheable) |
| Safe to retry automatically? | Not applicable |
| Related headers | Range (request), Content-Range, Accept-Ranges |
What causes HTTP 206?
- The client sent a Range header (video players, download managers, PDF viewers).
How do I fix HTTP 206?
- Ensure static file servers and CDNs keep Accept-Ranges: bytes enabled so video seeking works.
- If you compress on the fly, range requests may be disabled; serve media uncompressed.
What should a client do after HTTP 206?
Assemble the parts using Content-Range. If you get 200 instead, the server ignored the range and sent the whole file.
Does HTTP 206 affect SEO?
No direct impact. Googlebot may fetch ranges of large files.
Example 206 response
HTTP/1.1 206 Partial Content
Date: Mon, 01 Dec 2026 12:00:00 GMT
Content-Range: bytes 0-1023/146515
Accept-Ranges: bytes
Content-Length: 1024
Content-Type: application/json
{"error":{"status":206,"message":"Partial Content"}} How to return 206 Partial Content in code
Express (Node.js)
res.status(206).json({ error: 'Partial Content' }); Next.js route handler
return Response.json({ error: 'Partial Content' }, { status: 206 }); FastAPI (Python)
return Response(status_code=206) PHP
http_response_code(206); Nginx
location = /example {
return 206;
} Other 2xx status codes
The request was received, understood and accepted.
Frequently asked questions
Why can’t users skip ahead in my video?
What if the Range is invalid?
Is 206 a client or server error?
Related
- 200 OK HTTP 200 OK means the request succeeded.
- 416 Range Not Satisfiable HTTP 416 Range Not Satisfiable means the byte range requested with a Range header is outside the size of the r.
- 304 Not Modified HTTP 304 Not Modified means the client’s cached copy is still valid, so the server sends no body.
- Open the HTTP Status Codes Reference → Free, no signup.