HTTP 416 status code means a range request is invalid.
For example, when streaming a video, you want to receive it in chunks (because why waste the bandwidth if you only need a small fraction of the file). You request a portion of that file, by including the
Range HTTP header:
The above header asks the server to send the slice of the data starting from the 1337th byte up until the 1842nd byte.
Range header is invalid, or the file doesn’t have the requested range (e.g., requesting the 100-200 kilobyte range from a 50-kilobyte file), the server will return the
416 Range Not Satisfiable status code.
When responding to a range request, the server includes the
Content-Range header indicating which bytes server is responding with.
Range header is valid, but you still get this error, clear cache and delete cookies, and retry again.
- 206 Partial Content status code is returned when the range request succeeds, and the server sends you a chunk of the data.