public static function getHeader($code, $message = null, $protocol = 'HTTP/1.1')
    {
        return $protocol.' '.$code.' '.($message ? $message : self::getMessage($code));
    }
public static function getHeader($code, $message = null, $protocol = 'HTTP/1.1')
    {
        return $protocol.' '.$code.' '.($message ? $message : self::getMessage($code));
    }
public static function getHeader ( $ code , $ message = null , $ protocol = 'HTTP/1.1' ) { return $ protocol . ' ' . $ code . ' ' . ( $ message ? $ message : self :: getMessage ( $ code ) ) ; }
Get the http header based on a status code

@param  string   The HTTP protocol
@param  integer  An http status code
@return string   The http header
Get the http header based on a status code