Explorar el Código

Fix headers overwriting each other

Nathaniel van Diepen hace 6 años
padre
commit
604fd8fb29
Se han modificado 1 ficheros con 1 adiciones y 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();