Merge pull request #27 from kafene/master

Don't let header fields clobber eachother
pull/26/merge
Mike Cao 12 years ago
commit 399f22ef3d

@ -181,7 +181,7 @@ class Response {
foreach ($this->headers as $field => $value) { foreach ($this->headers as $field => $value) {
if (is_array($value)) { if (is_array($value)) {
foreach ($value as $v) { foreach ($value as $v) {
header($field.': '.$v); header($field.': '.$v, false);
} }
} }
else { else {

Loading…
Cancel
Save