add clear
This commit is contained in:
@@ -392,15 +392,6 @@ class HttpClient
|
||||
{
|
||||
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
|
||||
echo $host . ':' . $this->getHostPort() . $url . PHP_EOL;
|
||||
if (!empty($this->ssl_cert_file) && !empty($this->ssl_key_file)) {
|
||||
echo $this->ssl_cert_file . PHP_EOL;
|
||||
echo $this->ssl_key_file . PHP_EOL;
|
||||
$client->set([
|
||||
'Host' => $this->host,
|
||||
'ssl_cert_file' => $this->ssl_cert_file,
|
||||
'ssl_key_file' => $this->ssl_key_file,
|
||||
]);
|
||||
}
|
||||
if (!empty($this->agent)) {
|
||||
$this->header['User-Agent'] = $this->agent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user