Browse Source

Fix headers overwriting each other

Nathaniel van Diepen 6 years ago
parent
commit
604fd8fb29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Http/response.class.php

+ 1 - 1
Http/response.class.php

@@ -137,7 +137,7 @@
 				$this->fire('shutdown');
 				http_response_code($this->code);
 				foreach($this->headers as $k => $header){
-					header("{$header[0]}: $header[1]");
+					header("{$header[0]}: $header[1]", false);
 				}
 				echo $this->body;
 				flush();