What does HTTP status code 206 mean?
The 206 Partial Content status code is returned when the client requested a specific byte range of a resource (using the Range header) and the server is delivering only that portion.
When to use it in APIs
Useful for APIs serving binary files, videos, or large log files, enabling clients to download files in chunks or resume interrupted downloads.
How it compares to other codes
- 200 OK: Returns the entire resource, not a segmented portion.