Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 35234eb

Browse files
committed
fix header name case
1 parent 9580991 commit 35234eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RequestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private function initialize($uri = null, $method = null, $body = 'php://memory',
7474
// Host header is provided
7575
if (! $this->hasHeader('Host') && $this->uri->getHost()) {
7676
$this->headerNames['host'] = 'Host';
77-
$this->headers['host'] = [$this->getHostFromUri()];
77+
$this->headers['Host'] = [$this->getHostFromUri()];
7878
}
7979
}
8080

0 commit comments

Comments
 (0)