add clear

This commit is contained in:
2020-04-03 18:34:01 +08:00
parent dbb41245ee
commit 4bbdf5622b
+2 -2
View File
@@ -333,7 +333,7 @@ class HttpClient
if (strpos($this->host, ':') !== false) {
[$this->host, $this->port] = explode(':', $this->host);
if ($this->checkIsIp($this->host)) {
return '/' . $hostAndUrls;
return $hostAndUrls;
}
}
@@ -343,7 +343,7 @@ class HttpClient
$this->host = System::gethostbyname($this->host);
return '/' . $hostAndUrls;
return $hostAndUrls;
}
/**