pull/643/merge
Pierre 2 days ago committed by GitHub
commit 7c3d3e4340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -913,7 +913,11 @@ class Engine
->status($code)
->header('Content-Type', 'application/json')
->write($json);
if ($this->response()->v2_output_buffering === true) {
if (
$this->response()->v2_output_buffering === true
|| ($this->requestHandled === false && empty(getenv('PHPUNIT_TEST')))
) {
$this->response()->send();
}
}

Loading…
Cancel
Save