add clear
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user