[wp-trac] [WordPress Trac] #42466: HTTP status code is wrong on setup error
WordPress Trac
noreply at wordpress.org
Thu Nov 9 03:24:12 UTC 2017
#42466: HTTP status code is wrong on setup error
--------------------------+------------------------------
Reporter: linyows | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: administration
--------------------------+------------------------------
Changes (by dd32):
* keywords: => 2nd-opinion
Comment:
A 409 doesn't seem like the correct code here - The 4xx series of codes
are a "Client error" (ie. incorrect data sent) which isn't the case here.
A 500 error seems to fit best when looking through the various codes,
although a 200 is possibly also the correct response here. The error is a
"Sorry, but this isn't usable right now, it looks like your server is
already configured" (which makes it sound like a 403 would be correct, but
that would also be incorrect as it's not a client error)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42466#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list