v1.3.0
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
GETusingsetRedirectToGetStatusCodes - 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
Clientconstructor now accepts two additional optional arguments, aUriFactoryInterfaceand aUriResolverInterface.