Description
I sent my request by panther and intended to get the response so I used getInternalResponse method. by using this method I was able to get the body and status code without any problem but for header, I only got an empty array. I think this is a bug since I checked everything multiple times.
How to reproduce $client = Client::createChromeClient(); $client->request('GET', 'https://google.com'); $client->getInternalResponse()->getHeaders();
Symfony version(s) affected: 5.2
Description I sent my request by panther and intended to get the response so I used
getInternalResponse
method. by using this method I was able to get the body and status code without any problem but for header, I only got an empty array. I think this is a bug since I checked everything multiple times.How to reproduce
$client = Client::createChromeClient(); $client->request('GET', 'https://google.com'); $client->getInternalResponse()->getHeaders();