restucciaquito

Results 4 comments of restucciaquito

Thanks for your answer. When I set headers in the way you suggested me I have this error: `Call to undefined method Goutte\Client::setHeader() `

@kiang, that's the correct answer, just tested, thanks for your great help!

Yes, this answer is correct (https://github.com/FriendsOfPHP/Goutte/issues/401#issuecomment-591760247), I tested it on an updated version of Goutte.

Hi I'm using like this: `use Goutte\Client;` `use Symfony\Component\HttpClient\HttpClient;` `$client = new Client(HttpClient::create(['proxy' => $proxy]));` And it's working. In any case, test it. Hopes this help.