[wp-trac] [WordPress Trac] #10670: Refactor HTTP API

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 21 21:58:00 UTC 2009


#10670: Refactor HTTP API
-------------------------+--------------------------------------------------
 Reporter:  jacobsantos  |       Owner:  jacobsantos
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  Unassigned 
Component:  HTTP         |     Version:             
 Severity:  normal       |    Keywords:             
-------------------------+--------------------------------------------------
 I looked at the code base and it seems that the WP_Http class is of need
 of refactoring. The goal is to allow for the arguments in the request
 method to be used within any transport separately of the main WP_Http
 class.

 It overhauls the request and headers, creating at least two new classes
 for managing both respectively. Backwards compatibility will be maintained
 even though, people shouldn't be calling the main classes, the API has
 already been established and supporting the API won't be difficult and
 time consuming from the changes.

 The change will also allow for replacing or extending the code to allow
 for a plugin to replace the code base. It is debatable whether anyone will
 do this or if this should be one of the "features."

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10670>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list