Skip to content

451 Unavailable For Legal Reasons (HTTP Status Code 451)

Updated: at 09:12 AM

HTTP status code 451 indicates that the requested resource is unavailable due to legal reasons. This status code was defined in RFC 7725 in 2015 and is inspired by Ray Bradbury’s novel “Fahrenheit 451.”

Purpose

Use Cases

Response Content

Implementation Considerations

Example Response:

HTTP/1.1 451 Unavailable For Legal Reasons
Content-Type: text/html
Link: <https://example.com/legal>; rel="legal"

<html>
  <head><title>Unavailable For Legal Reasons</title></head>
  <body>
    <h1>451 Unavailable For Legal Reasons</h1>
    <p>This content is not available in your country due to a court order.</p>
    <p>Reference: [number]</p>
    <p>For more information, please visit our <a href="https://example.com/legal">legal information page</a>.</p>
  </body>
</html>

Recommendations

Practical Application Examples

Using the 451 status code not only helps comply with legal requirements but also provides users with clear information explaining why certain content is unavailable. This transparency helps maintain user trust and lays the groundwork for potential legal and policy discussions.