From aec9c53e5ad9a2eb337c8704409c4459d685e849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 2 Dec 2020 18:49:18 +0800 Subject: [PATCH] add clear --- 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 1a9aa0c..639447e 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -623,7 +623,6 @@ class HttpClient private function curl($url, $data = []) { try { - var_dump($url); $output = $this->curlParse($url, $data); if ($output === FALSE) { return new Result(['code' => 500, 'message' => $output]); @@ -660,6 +659,7 @@ class HttpClient } curl_setopt($ch, CURLOPT_HEADER, true); + var_dump($url, $this->parseHeaderMat()); if ($headers = $this->parseHeaderMat()) { curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); }