projects
/
mdref
/
mdref-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
mdref.json config
[mdref/mdref-http]
/
http
/
Env
/
setResponseHeader.md
diff --git
a/http/Env/setResponseHeader.md
b/http/Env/setResponseHeader.md
index c1bea843134bbeb8187df7664e6b45e600f1ca0f..fa01699423bc41eb092dbdd981aa3fc415651623 100644
(file)
--- a/
http/Env/setResponseHeader.md
+++ b/
http/Env/setResponseHeader.md
@@
-1,4
+1,4
@@
-# static bool http\Env::setResponseHeader(string $header_name
, [mixed $header_value = NULL[, int $response_code = 0[, bool $replace = true]]]
+# static bool http\Env::setResponseHeader(string $header_name
[, mixed $header_value = NULL[, int $response_code = 0[, bool $replace = true]]])
Set a response header, either replacing a prior set header, or appending the new header value, depending on $replace.
Set a response header, either replacing a prior set header, or appending the new header value, depending on $replace.
@@
-6,7
+6,7
@@
If no $header_value is specified, or $header_value is NULL, then a previously se
If $response_code is not 0, the response status code is updated accordingly.
If $response_code is not 0, the response status code is updated accordingly.
-## Param
eter
s:
+## Params:
* string $header_name, the name of the response header.
* Optional mixed $header_value, the header value.
* string $header_name, the name of the response header.
* Optional mixed $header_value, the header value.