Skip to content

Commit

Permalink
Use upper-case "Host" header
Browse files Browse the repository at this point in the history
Closes #614
  • Loading branch information
polyfractal committed Aug 10, 2017
1 parent 51f189e commit 045aac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Connections/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function performRequest($method, $uri, $params = null, $body = null, $opt
'uri' => $this->getURI($uri, $params),
'body' => $body,
'headers' => array_merge([
'host' => [$this->host]
'Host' => [$this->host]
], $this->headers)
];

Expand Down

0 comments on commit 045aac4

Please sign in to comment.