4 class HttpRequest extends \HTTP_Request2
6 public function __construct($url = null, $method = 'GET')
8 parent::__construct($url, $method);
9 $this->setConfig('follow_redirects', true);
10 $this->setConfig('connect_timeout', 5);
11 $this->setConfig('timeout', 10);
12 $this->setConfig('ssl_verify_peer', false);
13 $this->setHeader('user-agent', 'phinde/bot');