451 Unavailable For Legal Reasons

Access is denied because of a legal demand, such as a court order or a statutory blocking requirement.

Status

HTTP/1.1 451 Unavailable For Legal Reasons

Details

451 exists so that legal blocking is visible rather than disguised as a technical failure. The number is a reference to Fahrenheit 451. The specification asks the server to explain the block in the body and to identify the entity making the demand where possible.

A Link header with rel="blocked-by" identifies the blocking authority. Note that this describes the party demanding the block, not necessarily the operator of the server returning it.

Headers

Common causes

How to fix it

As the client

As the server

Examples

GET /article/12345 HTTP/1.1
Host: news.example.com

HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://regulator.example>; rel="blocked-by"
Content-Type: text/html; charset=utf-8

Specifications

RFC 7725

See also