add clear

This commit is contained in:
2020-03-31 15:00:38 +08:00
parent 2ea3bd28c8
commit 5d510cadb6
+1
View File
@@ -391,6 +391,7 @@ class HttpClient
private function generate_client($host, $url, $data)
{
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
var_dump($host, $this->getHostPort());
if (!empty($this->agent)) {
$this->header['User-Agent'] = $this->agent;
}