[wp-trac] [WordPress Trac] #16978: Move the PHP HTTP Extension priority down the list for WP_HTTP

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 1 01:21:57 UTC 2011


#16978: Move the PHP HTTP Extension priority down the list for WP_HTTP
--------------------------------------+------------------
 Reporter:  dd32                      |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  3.2
Component:  HTTP                      |     Version:  3.1
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |
--------------------------------------+------------------

Comment (by sivel):

 I think we are rapidly coming to the conclusion that the HTTP Extension is
 largely useless, very limited and should likely be removed.  As it stands
 the HTTP Extension is largely a wrapper for cURL.

 http://us3.php.net/manual/en/http.requirements.php :
   The extension must be built with libcurl support to enable request
 functionality

 I can see the potential of the cURL module not being installed, but the
 HTTP Extension being installed, however the environment would also have to
 not have fsockopen or streams available before we hit the HTTP extension
 with the reordering.

 In addition, the HTTP Extension is a pecl module and not included with PHP
 whereas cURL, fsockopen and streams are included with PHP.

 By just having this transport we are complicating things, especially when
 you consider that the HTTP Extension contains far less functionality than
 our other transports, so we are only hurting people in the end by keeping
 it around.

 It seems the vote from myself, dd32 and scribu is to proceed with removing
 this transport.

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


More information about the wp-trac mailing list