Changed
- Adjusted
guzzlehttp/promisesversion constraint to^3.1 - Adjusted
guzzlehttp/psr7version constraint to^3.2 - Replace the deprecated
Promise\IswithPromise\Statefor PHP 8.6 - Decode chunked stream handler bodies as they arrive, ending at the last chunk
- Reject truncated and malformed chunked stream handler bodies, like libcurl
- Reject unsupported response transfer codings, like libcurl 8.14+
- End stream handler bodies at their declared
Content-Length, including0 - Throw when a streamed body ends before its declared
Content-Length - Classify cURL errors 8 and 23 with a response as
ResponseTransferException - Reject stream handler gzip and deflate bodies with trailing data, like libcurl
- Accept raw deflate stream handler bodies, like libcurl
Fixed
- Fix streamed stream handler bodies delaying bytes that arrived with the headers