diff --git a/flight/net/Response.php b/flight/net/Response.php index 23a7965..2584204 100644 --- a/flight/net/Response.php +++ b/flight/net/Response.php @@ -72,7 +72,7 @@ class Response { header('Status: '.$code.' '.self::$codes[$code], true); } else { - header(($_SERVER['SERVER_PROTOCOL'] ?: 'HTTP/1.1').' '.self::$codes[$code], true, $code); + header(($_SERVER['SERVER_PROTOCOL'] ?: 'HTTP/1.1').' '.$code.' '.self::$codes[$code], true, $code); } } else {