Skip to content

v1.3.0

Choose a tag to compare

@KurtThiemann KurtThiemann released this 09 Mar 20:27
· 2 commits to master since this release
70d8834

Full Changelog: v1.2.0...v1.3.0

Redirects

  • Redirects no longer always fail when a request body is present, only if it is not seekable
  • Status 303 now correctly changes the request method to GET
  • Other status codes can be configured to also change the method to GET using setRedirectToGetStatusCodes
  • Redirects can now be disabled using setFollowRedirects, which, in contrast to setting the redirect limit to 0, will not throw an exception and instead just return the redirect response

Client

  • The Client constructor now accepts two additional optional arguments, a UriFactoryInterface and a UriResolverInterface.