From 213451e3459290f5ef5953b1dbe277762f871ab7 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 3 Jan 2020 15:32:26 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/HttpClient.php b/common/HttpClient.php index a1837ce..9508ec6 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -449,7 +449,8 @@ class HttpClient private function explode($output) { [$header, $body] = explode("\r\n\r\n", $output, 2); - $header = explode(PHP_EOL, $header); + var_dump($header); + $header = explode("\r\n", $header); unset($output);