[wp-trac] [WordPress Trac] #17271: WordPress returns a status code 200 when it can't connect to the database
WordPress Trac
wp-trac at lists.automattic.com
Mon May 2 18:47:46 UTC 2011
#17271: WordPress returns a status code 200 when it can't connect to the database
--------------------------+------------------
Reporter: PeteMall | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.2
Component: Database | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+------------------
Comment (by technosailor):
I can confirm 500 on overloaded too but looking at the HTTP RFC, the 504
is, in theory correct, but I don't think it's semantically correct for an
overloaded database. I think 500 is more apropos.
This is also because proxy servers use 504s in the way they do. I think
using 504 for a database would be confusing for systems people to diagnose
and would not, in fact, help the user any.
That being said, is there precedent for using 504 that I'm not aware of?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17271#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list