[wp-trac] [WordPress Trac] #28919: WP_Http needs to support custom HTTP status code messages

WordPress Trac noreply at wordpress.org
Wed Oct 8 05:14:48 UTC 2014


#28919: WP_Http needs to support custom HTTP status code messages
-------------------------+-----------------------
 Reporter:  ragulka      |       Owner:  dd32
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  4.1
Component:  HTTP API     |     Version:  3.9.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------
Changes (by dd32):

 * owner:   => dd32
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.1


Comment:

 Currently the Streams transport passes through the message field from the
 server, it's just the cURL transport that uses `get_status_header_desc()`.

 Since we're already parsing the headers manually, and pulling out the
 response field, it makes sense to just use the same processing code for
 both Streams and cURL for this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28919#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list