pull/555/head
Austin Collier 10 months ago
parent 5406bbedc1
commit 38e20242bf

@ -534,7 +534,7 @@ class Engine
} }
// HEAD requests should be identical to GET requests but have no body // HEAD requests should be identical to GET requests but have no body
if($request->method === 'HEAD') { if ($request->method === 'HEAD') {
$response->clearBody(); $response->clearBody();
} }

@ -81,7 +81,7 @@ class RouterTest extends TestCase
$dispatched = false; $dispatched = false;
} }
if($this->request->method === 'HEAD') { if ($this->request->method === 'HEAD') {
ob_clean(); ob_clean();
} }

Loading…
Cancel
Save