add clear

This commit is contained in:
2020-04-03 18:38:31 +08:00
parent 1d81d3e7f7
commit 10a29dafee
+1 -1
View File
@@ -522,7 +522,7 @@ class HttpClient
var_dump($host, $this->getHostPort(), $this->isSSL, $url);
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
// $client->set($this->settings());
$client->set($this->settings());
if (!empty($this->agent)) {
$this->header['User-Agent'] = $this->agent;
}