Closed
Description
Symfony version(s) affected
7.2.0
Description
Just upgraded one project to Symfony 7.2.0 and noticed an error with a Psr18Client
wrapping a CurlHttpClient
The HEAD
request actually turns into a PUT
request.
How to reproduce
$response = (new Psr18Client(new CurlHttpClient()))
->sendRequest(new Request('HEAD', 'https://www.postb.in/1732890887317-...'));
Possible Solution
No response
Additional Context
This seems to be caused by #58856
Now the CurlHttpClient
is sending a body as it seems: