Skip to content

Commit 218abf7

Browse files
woodongwonghuangzhhui
authored andcommitted
1 parent b20adb8 commit 218abf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ private function updateHostFromUri()
237237
}
238238

239239
if ($this->hasHeader('host')) {
240-
$header = $this->getHeader('host');
240+
$header = $this->getHeaderLine('host');
241241
} else {
242242
$header = 'Host';
243243
$this->headerNames['host'] = 'Host';

0 commit comments

Comments
 (0)