getHeader from getInternalResponse in Symfony Panther always return an empty array
By using Symfony Panther, I sent a request and I wanted to get the response. I was able to get the body and the status code but for the header I just got an empty array. $client = Client::createChromeClient(); $client->request('GET', 'https://google.com'); $client->getInternalResponse()->getHeaders(); // returned empty array!!!
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.