# setHeader 设置返回的头信息 ## 函数原型 ```php /** * Set Content-Type Header * * @param string $mime_type Extension of the file we're outputting * @return HttpOutPut */ public function setContentType($mime_type) ```