add clear

This commit is contained in:
as2252258@163.com
2020-01-03 15:36:53 +08:00
parent 91878579b6
commit df89d8e544
-2
View File
@@ -452,7 +452,6 @@ class HttpClient
if (strpos($body, "\r\n\r\n") !== false) { if (strpos($body, "\r\n\r\n") !== false) {
[$header, $body] = explode("\r\n\r\n", $body, 2); [$header, $body] = explode("\r\n\r\n", $body, 2);
} }
$header = explode("\r\n", $header); $header = explode("\r\n", $header);
unset($output); unset($output);
@@ -511,7 +510,6 @@ class HttpClient
$_tmp[strtolower($trim[0])] = $trim[1] ?? ''; $_tmp[strtolower($trim[0])] = $trim[1] ?? '';
} }
var_dump($_tmp);
return $_tmp; return $_tmp;
} }