[wp-trac] Re: [WordPress Trac] #4779: Proposal for HTTP POST and
REQUEST API
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 23 07:40:13 GMT 2007
#4779: Proposal for HTTP POST and REQUEST API
--------------------------+-------------------------------------------------
Reporter: darkdragon | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: Optimization | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+-------------------------------------------------
Changes (by darkdragon):
* keywords: => dev-feedback
Comment:
Totally sweet! It works! That just blows my mind.
Unit Test covers most of the functions, does not cover
{{{wp_remote_get_body()}}} or {{{wp_remote_get_headers()}}}. The Unit
Tests informally cover the {{{WP_HTTP_Fsockopen}}} class, the functions
cover the {{{test()}}} and the {{{wp_remote_get_object()}}} covers the
{{{request()}}} method. Which does prove that the class does work.
However, to complete the unit tests, the {{{WP_HTTP_Base}}} class methods
need to be covered, as well as the rest of the transport classes.
The next patch, if this is still considered okay, will include complete
unit tests and replace Snoopy and transition areas that use fsockopen to
use these functions. It will also include splitting the five classes down
to one or two (cURL might be useful to be packaged also).
--
Ticket URL: <http://trac.wordpress.org/ticket/4779#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list