The resource is unavailable for legal reasons, such as a court order or government censorship.
451 Unavailable For Legal Reasons (RFC 7725) says access is denied because of a legal demand, and the number is a nod to Fahrenheit 451. The response should explain the demand and who made it; a Link header with rel="blocked-by" can identify the entity implementing the block.
Link: <...>; rel="blocked-by".| Header | Role |
|---|---|
Link | rel="blocked-by" identifies who is blocking. |
HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://spqr.example.org/legislatione>; rel="blocked-by"
Content-Type: text/html