Releases: aternosorg/php-curl-psr
Releases · aternosorg/php-curl-psr
v1.3.1
Full Changelog: v1.3.0...v1.3.1
- remove content-type and content-encoding headers when changing method to GET on redirect
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
GET
usingsetRedirectToGetStatusCodes
- 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, aUriFactoryInterface
and aUriResolverInterface
.
v1.2.0
Full Changelog: v1.1.1...v1.2.0
- support setting request http protocol version to 1.1
v1.1.1
Full Changelog: v1.1.0...v1.1.1
- Fix empty strings returned from request body streams being interpreted as EOF
v1.1.0
Full Changelog: v1.0.3...v1.1.0
- allow UploadedFiles to use streams that are not based on files
v1.0.3
Full Changelog: v1.0.2...v1.0.3
- Fix request target for URLs with empty path
v1.0.2
Full Changelog: v1.0.1...v1.0.2
- Mark psr/http-message 1.1 as supported in composer.json
v1.0.1
Full Changelog: v1.0.0...v1.0.1
- Add LICENSE
- Add test workflow
v1.0.0
Full Changelog: https://github.com/aternosorg/php-curl-psr/commits/v1.0.0
- Initial release