Skip to content

Commit f09a5a5

Browse files
committed
Update WorkermanHttp.php
1 parent 4ff3437 commit f09a5a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/utils/http/foundation/WorkermanHttp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function setDatas($datas){
3030
return $this->datas;
3131
}
3232

33-
public function header($key, $value, bool $replace = false, int $http_response_code = null) {
33+
public function header($key, $value, bool $replace = true, int $http_response_code = null) {
3434
$this->headers[$key] = $value;
3535
if ($http_response_code != null) {
3636
$this->responseCode = $http_response_code;

0 commit comments

Comments
 (0)