Nginx status 206 Partial Content

6 min read

When you receive a status code of 206 Partial Content in Nginx, it means that the server has fulfilled a partial GET request for a particular resource. This status code is usually used in response to a Range request header from the client, where the client is asking for only a portion of the resource.

The 206 Partial Content status code indicates that the server is returning only the specific range of bytes requested by the client, rather than the full content. This can be useful when downloading large files or streaming media, allowing the client to fetch portions of the resource at a time.

In the response headers, you may see the Content-Range header indicating the range of bytes being returned, and the Content-Length header showing the total size of the data portion being sent in the response.

Overall, the 206 status code tells the client that only part of the content is being returned, and the client can continue requesting additional ranges if needed.