1 # static bool http\Env::setResponseHeader(string $header_name, [mixed $header_value = NULL[, int $response_code = 0[, bool $replace = true]]]
3 Set a response header, either replacing a prior set header, or appending the new header value, depending on $replace.
5 If no $header_value is specified, or $header_value is NULL, then a previously set header with the same key will be deleted from the list.
7 If $response_code is not 0, the response status code is updated accordingly.
11 * string $header_name, the name of the response header.
12 * Optional mixed $header_value, the header value.
13 * Optional int $response_code, any HTTP response status code to set.
14 * Optional bool $replace, whether to replace a previously set response header with the same name.