Merge remote branch 'djama/patch-1'

* djama/patch-1:
  call header() with replace=false, to provide the possibility of sending mutiple headers of the same type.
This commit is contained in:
Fabien Potencier 2011-06-13 12:19:40 +02:00
commit 196350b892

View File

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