Live data from Hacker News

Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

451unavailable.org

81–90 of 93 posts

Re: Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

#82

Surprised no one has made any reference to Farenheit 451. Allow me to be the first. Thankfully websites are not flammable.

I'm also surprised (this Error Code was first mentioned, as far as I know, when Ray Bradbury died)… but I like the subtle Element of not Mentioning it.

Re: Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

#84

Earlier quoted context omitted.

Yes, but that's true of other standards. Eg, I can start putting tags in my HTML if I want. The issue is whether anyone else will expect this tag or code and do anything meaningful with it.

I get what you mean but I don't think this is the same thing. HTML has a DTD, something that people conform to when writing, so your tag would not follow that guideline, whereas companies like Twitter can implement their own error codes as they see fit. See error code 420, Enhance Your Calm.[0] [0]: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

> HTML has a DTD

Tangentially to your point, that's only true of the 4.x and earlier versions of HTML which are SGML applications, WHATWG HTML / W3C HTML5 is not SGML-based and does not have a DTD.

Re: Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

#86
post #42
post #28

Surely this should be within the 5xx range of status codes? I get there's a reference to be had using 451 but this is more of a server error than client.

I was about to write a +1, but then I realised: - 4xx isn't appropriate as it's not a client error. - 5xx isn't appropriate because it's not a server error either.

I think it is a 4xx client error, and not necessarily one that needs a new status code. It seems to me that it is a fairly simple case of 403 Forbidden:

  The server understood the request, but is refusing to 
  fulfill it. Authorization will not help and the request 
  SHOULD NOT be repeated. If the request method was not HEAD 
  and the server wishes to make public why the request has 
  not been fulfilled, it SHOULD describe the reason for the 
  refusal in the entity. If the server does not wish to make 
  this information available to the client, the status code 
  404 (Not Found) can be used instead.

Re: Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

#87
post #42

Earlier quoted context omitted.

I was about to write a +1, but then I realised: - 4xx isn't appropriate as it's not a client error. - 5xx isn't appropriate because it's not a server error either.

I think it is a 4xx client error, and not necessarily one that needs a new status code. It seems to me that it is a fairly simple case of 403 Forbidden: The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe th…

From http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

"10.4 Client Error 4xx

The 4xx class of status code is intended for cases in which the client seems to have erred. "

The client has not erred by requested a document that exists and which the server can technically provide (separately, the server has not erred by refusing to provide a document to the client which the exists and which access control would allow the client to have, because a government is threatening the server operator in some manner).

Re: Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

#88
post #47

Earlier quoted context omitted.

could you post some authoritative proof/references for the black boxes?

Authorative: http://minsvyaz.ru/common/upload/prikaz_16-01-2008_N6.pdf (sorry, the document's in Russian and I can't find any translation, nor skilled enough to do that myself) - I'm not a lawyer, but in my understanding (as I was explained) this decree contains requirements to networks that ISPs must conform to (otherwise they can't get the license and provide services), and it states (in thick legalese) that all su…

thank you very much!

Re: Campaign for a new HTTP Error code: 451 - Blocked for legal reasons

#90
post #87

Earlier quoted context omitted.

I think it is a 4xx client error, and not necessarily one that needs a new status code. It seems to me that it is a fairly simple case of 403 Forbidden: The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe th…

From http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html "10.4 Client Error 4xx The 4xx class of status code is intended for cases in which the client seems to have erred. " The client has not erred by requested a document that exists and which the server can technically provide (separately, the server has not erred by refusing to provide a document to the client which the exists and which access control would all…

> The client has not erred by requested a document that exists and which the server can technically provide

The client has erred in requesting a document which the server is legally forbidden to provide to that client. As specified for 403, the server understands the request and refuses to fulfill it.

Admittedly, a hypothetical 6xx Third-Party Interference series of error codes might be useful for these kind of cases (and some instances currently handled by 503.)

Post reply on HN