Feature Notes
Led by: dd32
, rmccue
, wonderboymusic
Status: * I may have to make the first crack at this for it to happen.
Our internal HTTP API is showing its age. To support the kind of PHP apps that people are making with WordPress, we need a more modern set of tools. Ryan McCue has authored a library called Requests. He has also created a plugin called Requests-WPHTTP that replaces the current internals via filters. The goal is to actually replace the existing API’s internals with Requests. We also want to update Requests in the meantime to support things like PSR-7.
Dion will be the decider here. Ryan has already done a lot of work. WP_Http
will remain backwards-compatible
while using more Requests bits internally. The advantage is that we also get Requests, which users
can start using directly, without using WP_Http
.
I want to make sure the feature set is robust and that the APIs feel cutting-edge. Guzzle is a bleeding-edge PHP library that does HTTP right and has a full feature set - includes a Promises/A+ implementation and PSR-7 compliant interfaces.