W3C home > Mailing lists > Public > www-talk@w3.org > March to April 2007

Re: Best HTTP Status Code for a Redirect to a Service Suspension Page

From: Tom Molesworth <tetra604@gmail.com>
Date: Wed, 28 Mar 2007 13:11:12 +0100
Message-ID: <6c93a9d90703280511h783192fhb54abfc5db1b8171@mail.gmail.com>
To: "Nigel Peck" <nigel@miswebdesign.com>
Cc: "Damien Bezborodow" <damien.b@koalatelecom.com.au>, www-talk@w3.org

Damien Bezborodow wrote:
> We use a Squid Web Proxy Cache to forward suspended customers (based on
> IP) to a service suspension page if they haven't paid their bill.
--cut--
> > 403: Forbidden. The server understands the request but is refusing to
> > fulfil it. Authorisation will not help and the request should not be
> > repeated.

I'd vote for 403 Forbidden.

The 300 series is to indicate a change although the content is valid.
400-series errors generally indicate that the returned content is not
what you were after in the first place.

Most proxy servers will return 403 if the user is not authenticated.
This is essentially the case here since permissions have been
suspended. The 403 error is often taken by clients to say that there
is a real problem that should be reported, rather than 302 etc. which
would mean that the service itself has changed but probably still
valid.

best regards,

Tom
Received on Wednesday, 28 March 2007 12:11:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:29 GMT