Lets you set a server header which will be sent with the final output.
Note: If a file is cached, headers will not be sent.
public set_header ( string $header, boolean $replace = TRUE ) : CI_Output | ||
$header | string | Header |
$replace | boolean | Whether to replace the old header value, if already set |
return | CI_Output |