8000 Simplified CONTENT_ headers retrieval · symfony/symfony@15dd17e · GitHub
[go: up one dir, main page]

Skip to content

Commit 15dd17e

Browse files
committed
Simplified CONTENT_ headers retrieval
1 parent 42b8c7a commit 15dd17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/ServerBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getHeaders()
2828
}
2929
// CONTENT_* are not prefixed with HTTP_
3030
elseif (in_array($key, array('CONTENT_LENGTH', 'CONTENT_MD5', 'CONTENT_TYPE'))) {
31-
$headers[$key] = $this->parameters[$key];
31+
$headers[$key] = $value;
3232
}
3333
}
3434

0 commit comments

Comments
 (0)
0