add clear

This commit is contained in:
as2252258@163.com
2019-12-12 12:25:05 +08:00
parent 775cdeab7c
commit 6ae53dc7d4
+3
View File
@@ -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) {