From 540b15ceba361df008c95d5f21144c15c685cc22 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 3 Jan 2020 15:34:51 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/HttpClient.php b/common/HttpClient.php index a9350c5..f9b85cc 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -448,7 +448,7 @@ class HttpClient */ private function explode($output) { - [$header, $body] = explode("\r\n\r\n", $output, 2); + [$header, $body] = explode("\r\n\r\n", $output, -1); var_dump($header, $output); $header = explode("\r\n", $header);