[wp-trac] [WordPress Trac] #33055: Support Parallel HTTP Requests in WP_Http, et al

WordPress Trac noreply at wordpress.org
Wed Aug 19 07:47:12 UTC 2015


#33055: Support Parallel HTTP Requests in WP_Http, et al
----------------------------+-----------------------
 Reporter:  wonderboymusic  |       Owner:  rmccue
     Type:  enhancement     |      Status:  assigned
 Priority:  normal          |   Milestone:  4.4
Component:  HTTP API        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------
Changes (by rmccue):

 * owner:   => rmccue
 * status:  new => assigned


Comment:

 Replying to [comment:3 dd32]:
 > 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.

 I don't think these ones should be too hard, since they're mostly at a
 higher level than the actual HTTP requests.

 > 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.

 Indeed; everything after the `pre_http_request` can be replaced with what
 I have in Requests-WPHTTP (keeping the `pre` filter, of course).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33055#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list