An HTTP Status Code For Censorship?
New submitter Tryfen writes "UK ISPs are being forced to block The Pirate Bay. One is using 'HTTP 403 Forbidden' to tell users that they cannot access the site. From the article: 'However, chief among my concerns is the technical way this censorship is implemented. At the moment, my ISP serves up an HTTP 403 error.' ... As far as I am concerned, this response is factually incorrect. According to the W3C Specifications: "The 4xx class of status code is intended for cases in which the client seems to have erred."' So, should there be a specific HTTP status code to tell a user they are being censored?"
Why would you tell people you're censoring them, when you can just as easily NOT tell them and keep them in the dark... you know, to CENSOR them.
I want to delete my account but Slashdot doesn't allow it.
In a normal person's point of view, the user has not erred. The government has erred, and HTTP has no provision for that.
From the government's point of view, the user has erred because no right-thinking user would want to access a proscribed IP.
So what it comes down to is, should HTTP represent the user's POV or the Government's?
I nominate HTTP 451 - Site is not permitted in your country.
[End Of Line]
None. If a site absolutely must be blocked, then blackhole its IP addresses and fail resolution on the ISP's DNS servers. Middleboxes that inspect layer 4 and above are never OK, and never part of a trustworthy ISP network unless explicitly requested by the end-user.
Only for religiously proscribes IPs. If it's proscribed for political reason the code is "1984 - Thoughtcrime found on site".
Screw status codes. There should be a rifle pointed at the head of every legislator who votes on one of these sorts of measures.
George Washington didn't get rid of big British government by voting, holding protests (don't forget your permit!), or writing his elected officials. George Washington got rid of big British government by orchestrating the execution of hundreds of British government officials...
HTTP 451, This site has been burnt.
In keeping with the 3-digit status codes we already have and the use of the 4xx series to indicate that the client has apparently made an error, I think status code 451 might be more appropriate.
RIP, Ray Bradbury.
..that explains the situation and encourages the user to click on a clicky that automatically files a complaint with the approporiate government agency and/or sends an email to the relevant minister. Should be maintained by a third party such as the EFF.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
101 already exists, and means switching protocols. The 1xx series in general is inappropriate.
Microsoft already used 450 as a censorship status code (for censored by Microsoft Parental Controls), so I think 451--with a nod to Ray Bradbury--would be appropriate.
The proper one would be in the 5xx range, since the client's request is correct but the server is unable to comply.
503 - Service Unavailable is the obvious choice.
If we want to be cheeky about it, we could respond 305 - Use Proxy to hint that the client making the request can't come through here and must use some other path.
Democracy is by definition tyranny of the majority. That's why most countries have constitutions that cannot be violated and why there is no pure democracy.
Great Intellect...
So, in other words, a way of encoding the date that only Americans would recognize.