Skip to content

Commit 38dc12a

Browse files
committed
fixed broken Request serialization on Slim 3.10.0
1 parent 04a068b commit 38dc12a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Internal/RequestSerializer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ private static function headers(RequestInterface $request)
3535

3636
unset($headers['host']);
3737
unset($headers['Host']);
38+
unset($headers['HTTP_HOST']);
3839

3940
$headerLines = [];
4041
foreach ($headers as $name => $value) {

0 commit comments

Comments
 (0)