Skip to content

v2.0.0

Compare
Choose a tag to compare
@ElGigi ElGigi released this 22 Mar 12:04
· 2 commits to 2.x since this release

Added

  • Options class to manage options of client
  • HttpContext class to pass context to adapters
  • 'context' option to personalize Proxy/SSL/... options of adapters
  • Retry option for NetworkException

Changed

  • Signature of AdapterInterface::sendRequest() method
  • Adapters accept context to personalize Proxy/SSL/... options
  • Undefined option returns NULL instead of exception
  • Force string cast in HarGenerator headers
  • Change method to get content and headers from CURL
  • Do not get content from HEAD requests
  • Bump version of elgigi/har-parser library to ^1.0

Removed

  • Remove deprecated default header "Accept-Charset"

Fixed

  • Normalize headers in options
  • Normalize default headers
  • Non-utf8 header value for HAR generation
  • Non-utf8 querystring value for HAR generation
  • Bug with clone method of PHP
  • Fix redirect for 307 and 308 http status