diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index af0a95c..e778df9 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -195,8 +195,8 @@ class HttpClient */ public function setHost(string $host) { + var_dump($host); $this->host = $this->replaceHost($host); - var_dump($this->host); $match_quest = '/^[a-zA-Z\-]+(\.[a-zA-Z\-])+/'; if (preg_match($match_quest, $this->host)) { $this->addHeader('Host', $this->host);