add clear

This commit is contained in:
as2252258@163.com
2020-01-07 14:05:44 +08:00
parent 22196b5c62
commit ccb6ed6c08
-2
View File
@@ -391,7 +391,6 @@ class HttpClient
$this->header['User-Agent'] = $this->agent; $this->header['User-Agent'] = $this->agent;
} }
if (!empty($this->header)) { if (!empty($this->header)) {
var_dump($this->header);
$client->setHeaders($this->parseHeaderMat()); $client->setHeaders($this->parseHeaderMat());
} }
@@ -417,7 +416,6 @@ class HttpClient
} else { } else {
$client->post($url, $data); $client->post($url, $data);
} }
var_dump($url, $host, $this->isSSL, $this->getHostPort(), $data);
return $client; return $client;
} }