From df89d8e5441ab127d2ce9aee38775ab833ae3b0e Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 3 Jan 2020 15:36:53 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/HttpClient.php b/common/HttpClient.php index aeb4547..cbc5d0c 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -452,7 +452,6 @@ class HttpClient if (strpos($body, "\r\n\r\n") !== false) { [$header, $body] = explode("\r\n\r\n", $body, 2); } - $header = explode("\r\n", $header); unset($output); @@ -511,7 +510,6 @@ class HttpClient $_tmp[strtolower($trim[0])] = $trim[1] ?? ''; } - var_dump($_tmp); return $_tmp; }