From 53f0c1671d35b3f7c6f548cccad08867de41b1e0 Mon Sep 17 00:00:00 2001 From: kouts Date: Sat, 21 Oct 2017 17:45:36 +0300 Subject: [PATCH] Update Engine.php Add ```clear``` to the halt method in order to work as expected with the latest changes --- flight/Engine.php | 1 + 1 file changed, 1 insertion(+) diff --git a/flight/Engine.php b/flight/Engine.php index 0d95262..579edf4 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -364,6 +364,7 @@ class Engine { */ public function _halt($code = 200, $message = '') { $this->response() + ->clear() ->status($code) ->write($message) ->send();