Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

451 Unavailable For Legal Reasons

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

The HTTP 451 Unavailable For Legal Reasons client error response code indicates that the user requested a resource which is not available due to legal reasons, such as a web page for which a legal action has been issued.

Status

451 Unavailable For Legal Reasons

Example

This example response is taken from the IETF RFC (see below) and contains a reference to Monty Python's Life of Brian.

Note that the Link header might also contain a rel="blocked-by" relation identifying the entity responsible for the resource being unavailable, such as the name of the person or organization which made a legal demand resulting in the content's removal.

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 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>
</body>
</html>

Specifications

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

Browser compatibility

Feature Chrome Edge Firefox Internet Explorer Opera Safari Servo
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)
Feature Android Chrome for Android Edge Mobile Firefox for Android IE Mobile Opera Mobile Safari Mobile
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)

See also

文件標籤與貢獻者

 此頁面的貢獻者: Sheppy, fscholz, Jeremie
 最近更新: Sheppy,