From 18d58c7182f35e2be3a711bf8126d7157d0ffba1 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 3 Jan 2020 15:35:28 +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 f9b85cc..a9350c5 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, -1); + [$header, $body] = explode("\r\n\r\n", $output, 2); var_dump($header, $output); $header = explode("\r\n", $header);