Closed shaunbramley closed 8 years ago
Looks good at first sight, will go over all the changes tonight or tomorrow. Also poked travis for all the oddly failing jobs.
Great work! Thank you for taking the time to work out and create this PR :+1: . I'll perform final tests before tagging a release with your contributions in it.
Fix bug #4. Fix bug #3 . Fix bug wyrihaximus/react-guzzle-psr7 - 8 Reference WyriHaximus/react-guzzle-psr7 - 3 - streams not handled properly when using Guzzle 6
Moved option handling from
Request::__construct()
toRequest::applyOptions()
. Modified default options array to be Guzzle6 compliant. Provided shim to forward convert Guzzle 4-5 option array to Guzzle 6.Removed
ProgressInterface
fromRequest::__construct()
,Request::send()
method signatures. External packages only accessRequestFactory::create()
which does not provide an instance ofProgressInterface
. This ability still exists through the use of the 'progress' option.Explicitly state options within tests.