call header() with replace=false, to provide the possibility of sending mutiple headers of the same type.

This commit is contained in:
djama 2011-06-10 09:16:33 -07:00
parent ce8d6d06e2
commit 96359fb86d

View File

@ -128,7 +128,7 @@ class Response
// headers
foreach ($this->headers->all() as $name => $values) {
foreach ($values as $value) {
header($name.': '.$value);
header($name.': '.$value, false);
}
}