451 Unavailable For Legal Reasons

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>

仕様書

Specification
An HTTP Status Code to Report Legal Obstacles
# n-451-unavailable-for-legal-reasons

関連情報