[wp-trac] [WordPress Trac] #42466: HTTP status code is wrong on setup error
WordPress Trac
noreply at wordpress.org
Sun Nov 12 14:40:29 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:
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses: administration
-----------------------------------+------------------------------
Changes (by ocean90):
* keywords: 2nd-opinion => 2nd-opinion has-patch
* version: trunk =>
Comment:
> The 409 (Conflict) status code indicates that the request could not be
completed due to '''a conflict with the current state of the target
resource'''. This code is used in situations where '''the user might be
able to resolve the conflict''' and resubmit the request. '''The server
SHOULD generate a payload that includes enough informatio'''n for a user
to recognize the source of the conflict.
> — https://tools.ietf.org/html/rfc7231#section-6.5.8
Based on the definition I think it's actually an appropriate code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42466#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list