src/Http/Response.php
function sendResponseStatus($code = 200, $descriptions = '')
    {
        if ($descriptions == '' && isset(self::$statusDescriptions[$code])) {
            $descriptions = self::$statusDescriptions[$code];
        }
        header("HTTP/1.1 {$code} {$descriptions}");
    }
function sendResponseStatus($code = 200, $descriptions = '')
    {
        if ($descriptions == '' && isset(self::$statusDescriptions[$code])) {
            $descriptions = self::$statusDescriptions[$code];
        }
        header("HTTP/1.1 {$code} {$descriptions}");
    }
发送http 状态码

@param int $code
@param string $descriptions