HTTP

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.

主な違い

1.

206 is a 2xx Success response, while 451 is a 4xx Client Error response.

2.

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.

3.

HTTP 451: The server is denying access to the resource as a consequence of a legal demand. Named after Ray Bradbury's Fahrenheit 451.

4.

You encounter 206 when during video streaming, large file downloads, or when resuming interrupted downloads.

5.

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.

詳しく見る