429 Too Many Requests
errors are now retried when usingInnmind\HttpTransport\ExponentialBackoff
- When following redirections (via
FollowRedirections
) if the target url is only a path it crashed because no host was provided, now the target url is resolved based on the previous request
Innmind\HttpTransport\Curl::disableSSLVerification()
Innmind\HttpTransport\Header\Timeout
to specify a request timeout
- Curl timeout that was not applied correctly
- Requires
innmind/filesystem:~7.1
- Requires
innmind/http:~7.0
- Support for
innmind/immutable:~5.0
- Support for PHP
8.1
Response
s' body underlying resources weren't garbage collected at the same time than their object wrapper
Innmind\HttpTransport\MalformedResponse::raw(): Innmind\HttpTransport\MalformedResponse\Raw
to access the raw data sent by the server
- Out of order unwrapping
Curl
responses whenmaxConcurrency
is lower than the number of scheduled requests
Innmind\HttpTransport\Curl::maxConcurrency()
Innmind\HttpTransport\Curl::heartbeat()
Innmind\HttpTransport\Curl::__invoke()
now returns a deferredInnmind\Immmutable\Either
to allow concurrency, the requests are sent only when unwrapping the returnedEither
Innmind\HttpTransport\Curl::of()
now acceptsInnmind\Stream\Capabilities
as third argument- Support for
innmind/http:~6.0
- Header names containing a number or a dot now longer result in a
MalformedResponse
Innmind\HttpTransport\ExponentialBackoff
now acceptscallable(Period): void
instead ofHalt
to allow calls toOperatingSystem\CurrentProcess::halt()
- Support for
innmind/filesystem:~6.0