Add Content-Type header for error page
This commit is contained in:
parent
6c98e08166
commit
c110cd65ce
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ class ErrorHandler
|
|||
protected function show(array $error): void
|
||||
{
|
||||
\header('HTTP/1.1 500 Internal Server Error');
|
||||
\header('Content-Type: text/html; charset=utf-8');
|
||||
|
||||
echo <<<'EOT'
|
||||
<!DOCTYPE html>
|
||||
|
|
Loading…
Add table
Reference in a new issue