451 Unavailable For Legal Reasons

451 Unavailable For Legal Reasons (因法律原因不可用)是一种HTTP协议的错误状态代码,表示服务器由于法律原因,无法提供客户端请求的资源,例如可能会导致法律诉讼的页面。


451 Unavailable For Legal Reasons


这个响应示例来自 IETF RFC 规范(见下文),其中提到了英国戏剧电影Monty Python's Life of Brian (《蒙提·派森之布莱恩的一生》)。

注意 Link 首部中可能会包含一个 rel="blocked-by" 字段,用于标明为该资源无法提供负责的主体,例如颁布法令将资源删除的个人或组织的名称。

HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://spqr.example.org/legislatione>; rel="blocked-by"
Content-Type: text/html

<head><title>Unavailable For Legal Reasons</title></head>
<h1>Unavailable For Legal Reasons</h1>
<p>This request may not be serviced in the Roman Province
of 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>


Specification Title
RFC 7725: 451 Unavailable For Legal Reasons An HTTP Status Code to Report Legal Obstacles


Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
451Chrome Full support YesEdge Full support 12Firefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes


Full support  
Full support