jeudi 30 juin 2016

GuzzleHttp Client request very slow

i am running a simple http request with guzzle

$client = new Client();
$response = $client->get("http://www.google.com");
return $response->getBody();

this is the result this is what i'm getting

as you can see i'm getting 11300 ms delay

and these are my headers these are my headers

i can't find where is the problem i doubt it's from the code

i've tried

file_get_contents("http://www.google.com");

i got 300ms reponse that's what strange is the problem from guzzle itself? please help i'm lost



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/294Md8T
via IFTTT

Aucun commentaire:

Enregistrer un commentaire