diff --git a/common/Result.php b/common/Result.php index b0fd136..1f8befa 100644 --- a/common/Result.php +++ b/common/Result.php @@ -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) {