HTTP 451
HTTP |
---|
Request methods |
Header fields |
Response status codes |
Security access control methods |
Security vulnerabilities |
In computer networking, HTTP 451 Unavailable For Legal Reasons is an error status code of the HTTP protocol to be displayed when the user requests an illegal resource, such as a web page censored by a government. The number 451 is a reference to Ray Bradbury's 1953 dystopian novel Fahrenheit 451, in which books are outlawed.[1] 451 could be described as a more descriptive variant of 403 Forbidden.[2]
Examples of situations where an HTTP 451 error code could be displayed include web pages deemed a danger to national security, or web pages deemed to violate copyright, privacy, blasphemy laws, or any other law or court order.
However, some sites may be forced to produce HTTP 404 (File Not Found) or similar if they are not legally permitted to disclose that the resource has been removed. Such a tactic is used in the United Kingdom by some internet service providers utilising the Internet Watch Foundation blacklist, returning a 404 message or another error message instead of showing a message indicating the site is blocked.[3][4]
The status code was formally proposed in 2013 by Tim Bray, following earlier informal proposals by Chris Applegate[5] in 2008 and Terence Eden[6] in 2012. It was approved by the IESG on December 18, 2015.[7]
See also
References
- ^ Flood, Alison (June 22, 2012). "Call for Ray Bradbury to be honoured with internet error message". The Guardian. Retrieved June 22, 2012.
- ^ Ducklin, Paul (August 19, 2013). "HTTP error code 451: "Unavailable For Legal Reasons"". Naked Security. Sophos.
- ^ "If the request is for the blocked content then the proxy server will return a 404 error page to the customer" https://wiki.openrightsgroup.org/wiki/Cleanfeed
- ^ "TCP Reset is sent back to the customer instead of content." http://www.theguardian.com/technology/blog/2008/dec/08/internet-censorship-wikipedia-diagram
- ^ "There is no HTTP code for censorship". December 9, 2008. Retrieved December 23, 2015.
- ^ Byrne, Michael (21 December 2015). "The HTTP 451 Error Code for Censorship Is Now an Internet Standard". Vice. Retrieved 21 December 2015.
- ^ "Why 451?". December 18, 2015. Retrieved December 20, 2015.
External links
- Sample code of PHP return 451 error
- There is no HTTP code for censorship (but perhaps there should be) Eden's June 2012 blog post
- The Guardian: Call for Ray Bradbury to be honoured with internet error message
- What is Error Code 451? Why does internet need it?
- BoingBoing: Error Code 451: an HTTP error for censorship
- Forbes: Yes, We Should Have the 451 HTTP Status Code
- 451unavailable.org
- Naked Security: HTTP error code 451: "Unavailable for legal reasons"
- IETF Draft: An HTTP Status Code to Report Legal Obstacles