Explorar o código

Fix headers overwriting each other

Nathaniel van Diepen %!s(int64=6) %!d(string=hai) anos
pai
achega
604fd8fb29
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();