core/Controller.php
protected function setHeader(string $name, string $value, bool $replace = true, $http_response_code = null)
    {
        return Request::setHeader($name, $value, $replace, $http_response_code);
    }
protected function setHeader(string $name, string $value, bool $replace = true, $http_response_code = null)
    {
        return Request::setHeader($name, $value, $replace, $http_response_code);
    }
设置请求头
@param string $name
@param string $value
@param bool $replace
@param null $http_response_code