diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index bd14444d..c1973667 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -215,6 +215,7 @@ class Response extends Application $this->response->status($status); $this->response->header('Content-Type', $this->getContentType()); $this->response->header('Run-Time', $this->getRuntime()); + var_dump($this->headers); if (!empty($this->headers) && is_array($this->headers)) { foreach ($this->headers as $key => $header) { $this->response->header($key, $header); diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 6d7487b8..45116f3b 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -481,7 +481,6 @@ class Router extends Application implements RouterInterface } else if (!($node = $this->find_path(\request()))) { $response = send(self::NOT_FOUND, 404); } else { - var_dump($node); $response = send($node->dispatch(), 200); } } catch (ExitException $exception) {