[wp-trac] [WordPress Trac] #35336: Add missing HTTP status codes to wp_header_to_desc

WordPress Trac noreply at wordpress.org
Wed Jan 6 22:48:31 UTC 2016


#35336: Add missing HTTP status codes to wp_header_to_desc
--------------------------+-----------------------------
 Reporter:  kraftbj       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 There are a number of HTTP statuses codified in RFCs and listed by
 [http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
 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', [https://tools.ietf.org/html/rfc7538 RFC7538]
 421 => 'Misdirected Request',
 [http://tools.ietf.org/html/rfc7540#section-11.7 RFC7540]

 I am not including the following codes, which are labeled Experimental in
 the defining [https://tools.ietf.org/html/rfc5842 RFC5842]. I have no
 objection to adding them, but defaulting to not.

 208 => 'Already Reported',
 508 => 'Loop Detected',

 Lastly, left in 418. :-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35336>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list