[wp-trac] [WordPress Trac] #11613: HTTP API may make a request on an unsupporting transport

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 00:08:24 UTC 2010


#11613: HTTP API may make a request on an unsupporting transport
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  HTTP          |     Version:  2.9      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by jacobsantos):

 If this is the case, then why won't you just do the check in the transport
 and then change the HTTPS scheme to a HTTP one? The transports should only
 be checking whether it supports SSL, supports sending a body and supported
 by PHP. Everything else should just be done in the transport, unless it is
 something that needs to be supported by every transport then needs to be a
 method or a class.

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


More information about the wp-trac mailing list