add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:47:06 +08:00
parent 824969968c
commit 77417cdf5a
+1 -1
View File
@@ -339,7 +339,7 @@ class HttpClient
*/ */
private function generate_client($host, $url, $data) private function generate_client($host, $url, $data)
{ {
var_dump($host, $this->getHostPort(), $this->isSSL); var_dump($host, $this->getHostPort(), $url, $this->isSSL);
$client = new SClient($host, $this->getHostPort(), $this->isSSL); $client = new SClient($host, $this->getHostPort(), $this->isSSL);
if (!empty($this->agent)) { if (!empty($this->agent)) {
$this->header['User-Agent'] = $this->agent; $this->header['User-Agent'] = $this->agent;