From f35f42944f075d2ffcce04a4dfc49f16d75fcca7 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 3 Jan 2020 15:06:08 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/HttpClient.php b/common/HttpClient.php index e7f912d..7c8ffad 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -434,6 +434,9 @@ class HttpClient $header = explode(PHP_EOL, $header); $status = (int)explode(' ', trim($header[0]))[1]; $header = $this->headerFormat($header); + + var_dump($header, $body);exit; + if ($status != 200) { return new Result(['code' => 500, 'message' => $body, 'header' => $header]); }