add clear
This commit is contained in:
@@ -522,7 +522,7 @@ class HttpClient
|
|||||||
var_dump($host, $this->getHostPort(), $this->isSSL, $url);
|
var_dump($host, $this->getHostPort(), $this->isSSL, $url);
|
||||||
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
|
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
|
||||||
|
|
||||||
// $client->set($this->settings());
|
$client->set($this->settings());
|
||||||
if (!empty($this->agent)) {
|
if (!empty($this->agent)) {
|
||||||
$this->header['User-Agent'] = $this->agent;
|
$this->header['User-Agent'] = $this->agent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user