@mekras mekras released this Mar 26, 2018 · 13 commits to master since this release

Assets 2

Fixed

  • #36: Failure evaluating code: is_resource($handle) (string assertions are deprecated in PHP 7.2)
1.7

@mekras mekras released this Feb 9, 2017 · 21 commits to master since this release

Assets 2

Changed

  • #30: Make sure we rewind streams

@mekras mekras released this Jan 2, 2017 · 24 commits to master since this release

Assets 2

Fixed

  • #29: Request not using CURLOPT_POSTFIELDS have content-length set to

Changed

  • Use binary mode to create response body stream.

@mekras mekras released this Nov 11, 2016 · 29 commits to master since this release

Assets 2

Fixed

  • #27: ErrorPlugin and sendAsyncRequest() incompatibility
1.6

@mekras mekras released this Sep 12, 2016 · 32 commits to master since this release

Assets 2
  • Client::sendRequest now throws Http\Client\Exception\NetworkException on network errors.
  • \UnexpectedValueException replaced with Http\Client\Exception\RequestException in
    Client::sendRequest and Client::sendAsyncRequest

@mekras mekras released this Aug 29, 2016 · 37 commits to master since this release

Assets 2

Fixed

  • #26: Combining CurlClient with StopwatchPlugin causes Promise onRejected handler to never be invoked.
1.5

@mekras mekras released this Aug 3, 2016 · 39 commits to master since this release

Assets 2

Changed

  • Request body can be send with any method except GET, HEAD and TRACE.
  • #25: Make discovery a hard dependency.

@mekras mekras released this Jun 14, 2016 · 47 commits to master since this release

Assets 2

Added

  • #23: "php-http/async-client-implementation" added to "provide" section.

@mekras mekras released this May 30, 2016 · 51 commits to master since this release

Assets 2

Fixed

  • #22: Cannot create the client using HttpClientDiscovery.
1.4

@mekras mekras released this Mar 30, 2016 · 53 commits to master since this release

Assets 2

Changed

  • #20: Minimize memory usage when reading large response body.