[wp-trac] [WordPress Trac] #33055: Support Parallel HTTP Requests in WP_Http, et al
WordPress Trac
noreply at wordpress.org
Wed Aug 19 04:31:25 UTC 2015
#33055: Support Parallel HTTP Requests in WP_Http, et al
----------------------------+------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: HTTP API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+------------------
Comment (by rmccue):
I am fully on board with replacing WP_Http with Requests. It's totally
possible with a small compatibility layer (as you can see in the link),
and we'd gain a bunch of stuff: high test coverage, more hooks, less
dependency on WP core (and hence, more reusable outside of WP; e.g. wp-cli
uses Requests to download WP), and PSR-7 compatibility (in progress at the
moment).
Requests needs one or two slight changes, but already matches the vast
majority of the features in WP_Http. (This makes sense, seeing as I've
worked on both. ;) )
If we want to make this happen, I'm in. This needs buy-in from at least
@dd32 on the core side though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33055#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list