HTTP 206 Partial Content vs 451 Unavailable For Legal Reasons
HTTP 206 (Partial Content) is a 2xx Success response, while 451 (Unavailable For Legal Reasons) is a 4xx Client Error response. 206 indicates that the server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming. In contrast, 451 means that the server is denying access to the resource as a consequence of a legal demand. Named after Ray Bradbury's Fahrenheit 451.
Описание
The server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.
Когда вы это видите
During video streaming, large file downloads, or when resuming interrupted downloads.
Как исправить
No fix needed. This is normal behavior for range requests.
Описание
The server is denying access to the resource as a consequence of a legal demand. Named after Ray Bradbury's Fahrenheit 451.
Когда вы это видите
When content is blocked due to court orders, GDPR requests, or government censorship.
Как исправить
No technical fix. The block is legally mandated. Contact the site operator for details.
Ключевые различия
206 is a 2xx Success response, while 451 is a 4xx Client Error response.
HTTP 206: The server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.
HTTP 451: The server is denying access to the resource as a consequence of a legal demand. Named after Ray Bradbury's Fahrenheit 451.
You encounter 206 when during video streaming, large file downloads, or when resuming interrupted downloads.
You encounter 451 when when content is blocked due to court orders, GDPR requests, or government censorship.
Когда что использовать
For 206 (Partial Content): No fix needed. This is normal behavior for range requests. For 451 (Unavailable For Legal Reasons): No technical fix. The block is legally mandated. Contact the site operator for details.