451 由於法律原因不可用

HTTP 451 Unavailable For Legal Reasons 客戶端錯誤響應 狀態程式碼表示使用者請求的資源由於法律原因不可用,例如,已被髮布法律訴訟的網頁。

狀態

http
451 Unavailable For Legal Reasons

示例

此示例響應來自 IETF RFC(見下文),幷包含對 蒙提·派森的《布萊恩的生活》 的引用。

注意:Link 頭部可能還包含 rel="blocked-by" 關係,標識實施阻止的實體,而不是任何其他強制實施的實體。

任何試圖識別最終對資源不可用負責的實體都應放在響應主體中,而不是 rel="blocked-by" 連結中。這包括對由於法律要求導致內容被刪除的人員或組織的名稱。

http
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>

規範

規範
用於報告法律障礙的 HTTP 狀態程式碼
# n-451-unavailable-for-legal-reasons

另請參閱