Goutte 获取http response
$client = new Goutte\Client(); $crawler = $client->request('GET', 'http://symfony.com');
获取http 响应code 和 http request 信息
$crawler = $this->client->request("GET", $cateUrl); $code = $this->client->getInternalResponse()->getStatus();