Skip to content

Commit 1ad81ac

Browse files
committed
Drop host removal, not needed
Signed-off-by: Matteo Collina <[email protected]>
1 parent b049a60 commit 1ad81ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/plugin.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ export async function plugin (server, opts) {
4444
// Php needs capitalized headers
4545
const headers = {}
4646
for (const key of Object.keys(req.headers)) {
47-
if (key === 'host') {
48-
continue
49-
}
5047
const actual = capitalizeHeaders(key)
5148

5249
if (Array.isArray(headers[actual])) {

0 commit comments

Comments
 (0)