[Catalyst] RFC: HTTP 500 status for errors

Matt S Trout dbix-class at trout.me.uk
Wed Dec 7 03:05:26 CET 2005


On Tue, Dec 06, 2005 at 03:03:24PM -0800, Bill Moseley wrote:
> "As seen on IRC"...
> 
> Catalyst's default on error is to display that nice error message in
> eight or so languages.
> 
> Currently, that page returns a status of 200.
> 
> The proposal is to have it return an HTTP status of 500.
> 
> Humans still see the error page and spiders, caches, and cyborgs will
> get the 500.
> 
> Well, IE users may see whatever MS wants them to see -- although if the
> error page is large enough it should display the error page content.

Provided we don't inflict IE error screens on unsuspecting users instead
of something useful, I'm all in favour of a 500 for the status code; it's
meant as a signal to the machine, not the user, so keeping to the standard
is the better path.

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list