add clear

This commit is contained in:
as2252258@163.com
2020-01-03 15:32:26 +08:00
parent 2ab9714f96
commit 213451e345
+2 -1
View File
@@ -449,7 +449,8 @@ class HttpClient
private function explode($output)
{
[$header, $body] = explode("\r\n\r\n", $output, 2);
$header = explode(PHP_EOL, $header);
var_dump($header);
$header = explode("\r\n", $header);
unset($output);