diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index cc37330..af0a95c 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -196,6 +196,7 @@ class HttpClient public function setHost(string $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);