From 6fc7d68b0dab5324e038fb218ef970020fe869de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 16 Dec 2020 16:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Events/OnRequest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/HttpServer/Events/OnRequest.php b/HttpServer/Events/OnRequest.php index f38c08ac..3ee3ae4a 100644 --- a/HttpServer/Events/OnRequest.php +++ b/HttpServer/Events/OnRequest.php @@ -53,6 +53,7 @@ class OnRequest extends Callback public function onRequest(Request $request, Response $response) { try { + var_dump($request); if ($request->header['request_method'] === 'OPTIONS') { $response->status(200); return $response->end();