From a4bab25b3b0b49b1074e3686c00c1e5a2d707c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 6 Apr 2020 02:07:44 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 7ae0384..c88fbd3 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -520,8 +520,7 @@ class HttpClient if (strpos($url, '/') !== 0) { $url = '/' . $url; } - var_dump($host, $this->getHostPort(), $url); -// $client->set($this->settings()); + $client->set($this->settings()); if (!empty($this->agent)) { $this->header['User-Agent'] = $this->agent; }