We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff3437 commit f09a5a5Copy full SHA for f09a5a5
src/Ubiquity/utils/http/foundation/WorkermanHttp.php
@@ -30,7 +30,7 @@ public function setDatas($datas){
30
return $this->datas;
31
}
32
33
- public function header($key, $value, bool $replace = false, int $http_response_code = null) {
+ public function header($key, $value, bool $replace = true, int $http_response_code = null) {
34
$this->headers[$key] = $value;
35
if ($http_response_code != null) {
36
$this->responseCode = $http_response_code;
0 commit comments