[wp-trac] [WordPress Trac] #11428: WP_Http_ExtHTTP response code testing

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 27 20:54:39 UTC 2010


#11428: WP_Http_ExtHTTP response code testing
--------------------------+-------------------------------------------------
 Reporter:  arena         |       Owner:  dd32     
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  3.0      
Component:  HTTP          |     Version:  2.9      
 Severity:  major         |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by dd32):

 > Its up to the implementor to determine how they wish to return HTTP
 level error conditions. The WP_HTTP class returns a Response object
 describing the HTTP response, and a WP_Error on failure - Thats it.

 A WP_Error upon failure of the WP_HTTP class to make a Successful HTTP
 request which returns a valid response.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11428#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list