add clear
This commit is contained in:
@@ -38,6 +38,9 @@ class Result
|
||||
private function reloadResponse($header)
|
||||
{
|
||||
$data = [];
|
||||
if (is_array($header)) {
|
||||
return $header;
|
||||
}
|
||||
$load = explode("\n", $header);
|
||||
if (!empty($load) && is_array($load)) {
|
||||
foreach ($load as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user