#35336 closed defect (bug) (fixed)
Add missing HTTP status codes to wp_header_to_desc
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 4.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | HTTP API | Keywords: | |
| Focuses: | Cc: |
Description
There are a number of HTTP statuses codified in RFCs and listed by IANA that are not present in the WordPress list.
Related, but separate, from #35333 (which adds the RFC-about-to-be-published 451).
Added codes:
308 => 'Permanent Redirect', RFC7538
421 => 'Misdirected Request', RFC7540
I am not including the following codes, which are labeled Experimental in the defining RFC5842. I have no objection to adding them, but defaulting to not.
208 => 'Already Reported',
508 => 'Loop Detected',
Lastly, left in 418. :-)
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Added 308, 421.