[wp-trac] [WordPress Trac] #33055: Support Parallel HTTP Requests in WP_Http, et al
WordPress Trac
noreply at wordpress.org
Wed Aug 19 07:31:26 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 dd32):
I am 100% for replacing our WP_HTTP library with another, be it Requests
or another well-maintained library.
My only requirements are:
* 100% API compatibility for existing features
* Properly maintained and used by others
* Great test coverage
All should be easy for any contender to hit..
Some of the existing hooks can go away in the process IMHO if they don't
make sense - `http_api_curl` for example, and `http_api_debug` to a lesser
degree.
I expect there could be compatibility issues with some edge-case things we
currently support - URL Blocking / Cookie handling for example, but if we
have to include some minimal handling of those within a compat wrapper..
I'm good with that if it reduces our overall maintenance burden.
A note on https://github.com/rmccue/Requests-WPHTTP - That's written to
add Requests as a transport provider to our existing WP_HTTP classes, if
we were to adopt it, we'd instead rip out our existing stuff, and add a
compat wrapper in it's place instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33055#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list