Update Engine.php

Add ```clear``` to the halt method in order to work as expected with the latest changes
pull/340/head
kouts 7 years ago committed by GitHub
parent e146b8c0dd
commit 53f0c1671d

@ -364,6 +364,7 @@ class Engine {
*/ */
public function _halt($code = 200, $message = '') { public function _halt($code = 200, $message = '') {
$this->response() $this->response()
->clear()
->status($code) ->status($code)
->write($message) ->write($message)
->send(); ->send();

Loading…
Cancel
Save