From 6377d7e1ee0b219d540a5be3c7bb9ea7ac838816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ms=C2=B7xl?= Date: Sat, 14 Nov 2020 02:19:24 +0800 Subject: [PATCH] 3 --- wchat/common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 8fae737..6498fcc 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -525,6 +525,7 @@ class HttpClient $this->header['User-Agent'] = $this->agent; } if (!empty($this->header)) { + var_dump($this->header); $client->setHeaders($this->header); } $client->setMethod(strtoupper($this->method)); @@ -535,7 +536,6 @@ class HttpClient } if (!empty($this->_data)) { - var_dump($this->_data); $client->setData($this->_data); } $client->execute($url);