TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The 451 status code is now supported

421 pointsby cujanovicabout 9 years ago

11 comments

schlowmoabout 9 years ago
Besides the reference to Fahrenheit 451 the referece to Life of Brian at the example from the RFC made my day:<p><a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc7725#section-3" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc7725#section-3</a><p>&quot;Unavailable For Legal Reasons<p>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&#x27;s Front of Judea.&quot;
评论 #11315619 未加载
dcw303about 9 years ago
This could be really useful. If this was done by other big content sites (Youtube for example) then a search bot could build up an index of banned resources. A repository of burned books.
评论 #11310598 未加载
chippyabout 9 years ago
&quot;Responses using this status code SHOULD include an explanation, in the response body, of the details of the legal demand: the party making it, the applicable legislation or regulation, and what classes of person and resource it applies to.&quot;<p>So in the articles example, GitHub should really include who is requesting the DCMA in the response.
评论 #11311494 未加载
评论 #11318995 未加载
nothisabout 9 years ago
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fahrenheit_451" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fahrenheit_451</a><p>Coincidence? I think not!
评论 #11312005 未加载
评论 #11312653 未加载
TuringTestabout 9 years ago
I like the Farenheit 451 reference. Is that intentional, or does destiny have a sense of humor?<p>Edit: Wikipedia knows it all, as always. [1]<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;HTTP_451" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;HTTP_451</a>
edentabout 9 years ago
Original discussion on HN from 4 years ago <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4099751" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4099751</a>
评论 #11312619 未加载
sanquiabout 9 years ago
I was under the impression that the 451 status code should be used for requests blocked by proxies, where the original content is technically still available at the source but blocked for some reason. Probably got the wrong idea.
评论 #11310876 未加载
评论 #11310883 未加载
apalmerabout 9 years ago
Help Me Understand:<p>I am a government who is censoring content. I do not like the explicitly saying I am &#x27;censoring&#x27; the internet I instruct my infrastructure not to use the status code 451. and I instruct my nation&#x27;s infrastructure to reject or rewrite all responses with 451 status code to 404.<p>What stops me?
评论 #11312689 未加载
评论 #11313209 未加载
评论 #11312959 未加载
评论 #11313159 未加载
评论 #11313761 未加载
jasonjeiabout 9 years ago
If I understand NSL correctly, its existence cannot be published without a government waiver? So in the case a repo needs to be taken down due to a NSL, what does GH do? 404? 401? 451? Returning 451 in response to a NSL would definitely violate NSL requirements?
评论 #11315066 未加载
ape4about 9 years ago
This means webcrawlers&#x2F;bots can now compile stats.
lolidaisukiabout 9 years ago
I actually saw the status code 451 in the wild.<p>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.<p>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&#x27;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&#x27;t get bad publicity.<p>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.<p>I think this error code is a bad idea as it legitimizes censorship.
评论 #11311489 未加载
评论 #11313288 未加载
评论 #11311784 未加载
评论 #11310991 未加载
评论 #11313778 未加载
评论 #11311742 未加载
评论 #11313217 未加载
评论 #11312147 未加载