[wp-trac] [WordPress Trac] #28887: Different data type for HTTP response code

WordPress Trac noreply at wordpress.org
Wed Oct 8 05:20:02 UTC 2014


#28887: Different data type for HTTP response code
--------------------------+---------------------
 Reporter:  lonnylot      |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  HTTP API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by dd32):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29849"]:
 {{{
 #!CommitTicketReference repository="" revision="29849"
 Always cast the 'code' server response to an int, this provides
 consistency between both of the HTTP transports.
 Previously cURL would return an int and Streams a numeric string.
 Fixes #28887
 }}}

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


More information about the wp-trac mailing list