#35336 closed defect (bug) (fixed)
Add missing HTTP status codes to wp_header_to_desc
| Reported by: | kraftbj | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | HTTP API | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Added 308, 421.