[wp-trac] [WordPress Trac] #8622: HTTP API Fallover & non-blocking order doesnt appear to be working
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 25 22:47:59 UTC 2011
#8622: HTTP API Fallover & non-blocking order doesnt appear to be working
------------------------------+-----------------------------
Reporter: DD32 | Owner: jacobsantos
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: HTTP | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch tested |
------------------------------+-----------------------------
Changes (by jacobsantos):
* status: closed => reopened
* resolution: invalid =>
Comment:
The point of this and the patch was not getTransport() and
postTransport(), it was the ability to allow fail-over to a transport when
the transport itself has a problem. True, given the small amount who have
problems with, it is safe to ignore this as a personal problem for those
edge cases. However, it is nothing to add support for this since it has
always been the original intention for even having the foreach in the
code.
As for unit testing, well, you can't really unit test WP_Test::request(),
functional testing or acceptance testing, sure, however unit testing has
to be done for each individual class and well, they weren't written for
unit testing in mind, so you are still going to have issues unit testing
the transports.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8622#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list