HTTP Status Code 416
The status code 416, also known as "Requested Range Not Satisfiable," is an error code used in the HyperText Transfer Protocol (HTTP) communication between a client (like a web browser) and a server (like a web server). It indicates that the server cannot fulfill the client's request for a specific portion of a resource.
Here's a breakdown of what a 416 status code means:
- Client Request: The client typically uses a special instruction called a "Range" header to request only a specific part of a file, instead of the entire thing. This is useful for things like resuming downloads or video streaming.
- Server Response: The server responds with a 416 code if it can't provide the requested range for some reason. There could be several reasons for this:
- The requested range might be outside the actual size of the resource. For example, if a file is only 100 bytes long, and the client asks for bytes 200-300, the server can't deliver that.
- The resource might have been deleted or modified since the client requested it.
- The format of the Range header might be invalid or nonsensical.
When you encounter a 416 error, it usually means the download or streaming will fail. The client software (like your web browser) might try to download the entire resource instead, or it might just give up.
Other 4xx Status Codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Payload Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Entity
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons