Re: Status code for censorship?

>
> P.S. The interesting part, for me, is that this is a perfectly valid use of 403, according to our specs:
>
> "The server understood the request, but refuses to authorize it."
>
> Note "server", not "origin server" -- which in both 2616 and bis means *any* server in the chain can send it.
>

+1.

And 403 is also helpful for users because it allows to describe in the
entity why the request is refused.

In 10.4.4. 403 Forbidden, RFC 2616 says,
"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".

Received on Monday, 11 June 2012 12:19:32 UTC