call header() with replace=false, to provide the possibility of sending mutiple headers of the same type.
This commit is contained in:
parent
ce8d6d06e2
commit
96359fb86d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user