The 451 status code is now supported
developer.github.com
developer.github.com
https://tools.ietf.org/html/rfc7725#section-3
"Unavailable For Legal Reasons
This request may not be serviced in the Roman Province of Judea due to the Lex Julia Majestatis, which disallows access to resources hosted on servers deemed to be operated by the People's Front of Judea."
Imagine trying to watch a movie critical of China in China--status code 451.
Perhaps they could even use 451 as an easy way to detect potential "terrorists". Sort citizens by the number of 451s they generate each month, send a cop to the top 1% of them, and publish this fact to scare the other 99%. They're already using TCP resets as a core component of their censorship regime, so I wouldn't be surprised if this Internet standard got co-opted, too.
So instead of:
You are not in the sudoers file. This incident will be reported.
They'll get: HTTP 451. This incident will be reported.For a webshop that effectively a ban isn't it?
PayPal, EC Cards, and the eID system can do 18yo verification online.
Did they not want to be associated with blatant censorship? That sounds pejorative but I mean it literally.
It is blatant censorship, but it's either that or the German government closing down you operations in Germany.
But you might be right that it's about advertising the product.
Edit: The law actually clearly states that a shop must not have the game on display anywhere a minor could see it
You are by the way the way totally allowed to sell these games. Without any advertising that is. In a classic shop that meant you keep it under the counter and if someone over 18 asks for it by name, you sell it. No idea how that would translate to an online shop.
But long story short: It seems very hard to interpret returning 451 to a url the user already has to know in advance as advertising.
I am pretty sure that if a minor asks for that game in a store you are also allowed to say "no, you are too young for this" and are not required to lie "what, no, never heard of that" ^^.
Wouldn't allowing users to search for the game by name be equivalent?
That would translate to using the age verification of the eID ;)
Makes me wonder if we should have a robots.txt per locale.
Fucking GEMA.
So in the articles example, GitHub should really include who is requesting the DCMA in the response.
The link to the DMCA should really be included in the api response
Coincidence? I think not!
Edit: Wikipedia knows it all, as always. [1]
>If the .ru site sent 404s for nonexistent users and 451s for real ones, you'd be able to gather potentially useful information. It's like if I go to bad-porn.com and type your email into "forgot my password", it should neither confirm nor deny the existence of your account, simply tell me the request was received. In any event if delivery of the requested resource is legally prohibited, why would I go to the trouble to determine whether the resource exists?
>A final analogy: 10 year old enters US gas station: "Have you Marlboro 100s, menthol?" gas station attendant (without checking whether or not he has this particular brand/style of cigarette): "get out of here, kid. [HTTP/1.1 451 Unavailable For Legal Reasons]."
Amazon will similarly return 404 for S3 assets which exist but which you don't have the right to see. Annoyingly, they will also do the opposite of the cigarette analogy in the AWS console: they will gladly let you walk though the whole process of configuring and launching an EC2 server and only reject you at the very end because you don't have permission. Hence my "AWS bar joke":
http://blog.tyrannyofthemouse.com/2016/02/some-of-my-geeky-t...
> This status code indicates that the server is subject to legal restrictions which prevent it servicing the request.
The "server" here could be a proxy server or the original, hosting server.
> The use of the 451 status code implies neither the existence nor non-existence of the resource named in the request. That is to say, it is possible that if the legal restriction were removed, a request for the resource might still not succeed.
I think the original ideal scenario was that a 451 would be generated by the in-country blocks that get put in place by ISPs due to legal requests from organisations.
However, they aren't incentivised to do this as much as hosting platforms are and so I don't think we will see large adoption there.
Instead, hosting platforms are using the status code both for DMCAs and other legal requests where the content may only be blocked for certain countries as part of a pragmatic response that keeps the rest of the service up in those countries (In country blocks are usually overly heavy handed :)).
[1] https://transparency.automattic.com/2016/01/05/error-451-una...
I am a government who is censoring content. I do not like the explicitly saying I am 'censoring' the internet I instruct my infrastructure not to use the status code 451. and I instruct my nation's infrastructure to reject or rewrite all responses with 451 status code to 404.
What stops me?
This is political bullshit. I really wish the standards body would stick to strictly technical issues and leave the politics to the individual members on their own time.
First time I saw it was in December and after that in January, both on the same site. The site that was blocked was archive.is.
This block was targeted at Finland and none of the different Internet connections I tried could get to the site, I tried my home connection, cellular and connecting from my school network. It's a shame that anyone even thought of censoring such an useful tool for history and other legitimate uses. I wrote a thing about it to a Finnish newspaper and a few weeks after that the block was gone. I suspect that the newspaper conatcted archive.is and it was removed so they don't get bad publicity.
It was kind of ironical that I had to subvert the archive.is censorship to read an archived version of a thread discussing web censorship in Sweden.
I think this error code is a bad idea as it legitimizes censorship.
It seems undeniable that this "feature" codifies censorship, making it more "acceptable".
"Oh, well they used the right code anyway"
back to approved activities
So, in the case at hand, GitHub is using 451 to communicate that a government censor has required that they take some content down, not that the company itself has decided to remove the data of its own volition.
edit. language + explanation.
Censorship (external legal request) exists and this is a fact. The mere engineering projection of it does not strengthen it. On the contrary, through the 451 status code we can know that you cannot have access due to an "external legal request".
Yes because I really wanted to see that thing. If I get 404 on something I want to see I will try through Tor and I will try with at least a few circuits. And if Tor gets through I then usually test with other networks just as I did with this.
I know that many people probably don't do that and you have a valid point with the masking but a better solution would be stopping censorship, not a new errorcode
But, we can enable Internet companies to better-expose when rights requests and censorship has been used to block information.
Before, all you'd get on GitHub (per the release) was a 403, which could have been any number of things and was, in any case, an obfuscation of why you couldn't access the resource. If a person doesn't see a reason to investigate, they'll just move on.
This gets us closer to conversations about censorship.
If I get a 451 error, I'll know it's censorship and can use something like Tor to get around it.
Actually, I'm sure there will be some browser extensions soon to automatically use a proxy if a 451 error is returned.
This status-code is a great solution to inform the public about it.
It's pretty much the go-to thing for anybody nefarious who wants to have something censored without all the trouble and blatant impossibility of having their claims vindicated in court.
Those obstacles could be censorship, or copyright infringement, or illegal mathematics - anything.