©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
HTTP 451 Unavailable For Legal Reasons
客户端错误响应代码指示用户请求由于法律原因而不可用的资源,例如已发出法律行为的网页。
451 Unavailable For Legal Reasons
此示例响应取自 IETF RFC(请参阅下文),并包含对 Monty Python 的 Brian 生活的引用。
请注意,Link
标题还可能包含一个rel="blocked-by"
关系,用于标识实际实施封锁的实体,而不是任何其他实体实施封锁的实体。
任何试图识别最终对资源不可用的实体负责的企图,如提出合法请求而导致内容被移除的个人或组织的名称都属于响应主体,而不在rel="blocked-by"
链接中。
HTTP/1.1 451 Unavailable For Legal Reasons Link: <https://spqr.example.org/legislatione>; rel="blocked-by"Content-Type: text/html<html><head><title>Unavailable For Legal Reasons</title></head><body><h1>Unavailable For Legal Reasons</h1><p>This request may not be serviced in the Roman Provinceof Judea due to the Lex Julia Majestatis, which disallows access to resources hosted on servers deemed to be operated by the People's Front of Judea.</p></body></html>
规范 | 标题 |
---|---|
RFC 7725:451法律原因不可用 | 报告法律障碍的HTTP状态代码 |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |