add clear

This commit is contained in:
as2252258@163.com
2020-01-03 15:06:08 +08:00
parent f0a0cd586a
commit f35f42944f
+3
View File
@@ -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]);
}