diff --git a/library/think/Response.php b/library/think/Response.php index fff782c6..96737dcd 100644 --- a/library/think/Response.php +++ b/library/think/Response.php @@ -53,7 +53,7 @@ class Response $this->options = array_merge($this->options, $options); } $this->contentType($this->contentType, $this->charset); - $this->header = $header; + $this->header = array_merge($this->header, $header); $this->code = $code; }