add clear
This commit is contained in:
@@ -346,9 +346,9 @@ class HttpClient
|
|||||||
$this->host = System::gethostbyname($this->host);
|
$this->host = System::gethostbyname($this->host);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!$this->checkIsIp($this->host) && !$this->isDomainName($this->host)) {
|
if (!$this->checkIsIp($this->host) && !$this->isDomainName($this->host)) {
|
||||||
// throw new Exception('Client Host error.');
|
throw new Exception('Client Host error.');
|
||||||
// }
|
}
|
||||||
|
|
||||||
return $string;
|
return $string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user