-
The implementation of the PSR-18 ClientInterface is provided as an adapter to the existing GuzzleHTTP Client. Therefore existing configuraton settings will be reused. As our current Guzzle wrapper (RequestFactory->request) has support for passing custom guzzle per-request options, we do not deprecate this method but add the PSR-18 implementation as a more generic alternative. Once GuzzleHTTP supports PSR-18 natively we can (and will) drop our adapter and point to Guzzles native implementation in our dependency injection configuration. Therefore, this adapter is marked as internal and extensions are being instructed to depend on the PSR-18 interfaces only. composer require psr/http-client:^1.0 Releases: master Resolves: #89216 Change-Id: I0f2c81916a2f5e4b40abd6f0b146440ef155cf00 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61567 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
ba9ac6f9