HTTP/2xx (Success)
206 Partial Content
The server is delivering only part of the resource due to a Range header sent by the client.
❓ Why does this happen?
Enables resumable downloads, video streaming chunking, and multi-threaded file downloaders.
✅ How to fix it
Check client Range header values and server Content-Range response headers if downloads fail midway.
Return or handle 206 in your stack
// app/api/resource/route.ts
export function GET() {
return Response.json(
{ error: "Partial Content", status: 206 },
{
status: 206
}
);
}Live 206 mock endpoint
Point your app, tests, or retry logic at this free public URL to reproduce a real 206 response (CORS enabled, optional ?delay=ms up to 5000).
https://castov.com/api/mock/206Frequently Asked Questions
What does HTTP Status 206 mean?
Why am I getting a 206 status code?
How do I fix a 206 Partial Content error?
How can I test how my app handles a 206 response?
Other 2xx status codes
Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.