HTTP 451 Unavailable For Legal Reasons indicates that the server operator has received a legal demand to deny access to the resource or a set of resources that includes the requested resource. The code is a reference to Ray Bradbury's novel Fahrenheit 451. This status code is used when content is blocked due to government censorship orders, court-issued takedown notices, DMCA requests, or sanctions compliance. ISPs and hosting providers commonly return this code when required by law to block access to specific content.
451 Unavailable For Legal ReasonsGET /watch/movie-title HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0
Accept: text/htmlHTTP/1.1 451 Unavailable For Legal Reasons
Content-Type: text/html; charset=utf-8
<!doctype html>
<html>
<body>
<h1>451 Unavailable For Legal Reasons</h1>
<p>This page is not available in your region due to a legal restriction.</p>
</body>
</html>The server should include details about the legal demand in the response body, including the party making the demand and what provisions of law apply.
curl -v https://example.com/blocked-page
Content may be blocked only in certain jurisdictions. Check if the content is accessible from a different location.
If you believe the block is in error, contact the website operator for more information about the legal restriction.
An ISP or hosting provider has been ordered by a government authority to block access to the content in the requesting user's jurisdiction.
The content was removed in response to a copyright infringement claim under the Digital Millennium Copyright Act or equivalent legislation.
A court has ordered the removal or blocking of the content, and the server operator is complying with the order.
The content or service is restricted due to economic sanctions, export controls, or trade compliance regulations.
| Specification | Section |
|---|---|
| An HTTP Status Code to Report Legal Obstacles | RFC 7725 §3 |
This reference was compiled from official RFCs, protocol specifications, and hands-on troubleshooting experience. AI tools were used primarily for formatting and organizing the content on the page.