Closed
Description
Symfony version(s) affected
7.1.0
Description
It looks like there is a typo in NoPrivateNetworkHttpClient since Symfony 7.1.0. The client is accessing $options
array key "header" when it should be "headers".
$options['header'] = array_filter($options['header'], $filterContentHeaders);
results in error Undefined array key "header"
.
How to reproduce
n/a
Possible Solution
Replacing "header" with "headers" fixes the issue
$options['headers'] = array_filter($options['headers'], $filterContentHeaders);
Additional Context
No response