Skip to content

Commit 4f5debb

Browse files
committed
Do not overwrite headers.
1 parent 9b57f84 commit 4f5debb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/HttpClient/CachedHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function request($path, $body = null, $httpMethod = 'GET', array $headers
6262
*/
6363
protected function createRequest($httpMethod, $path, $body = null, array $headers = array(), array $options = array())
6464
{
65-
$request = parent::createRequest($httpMethod, $path, $body, $headers = array(), $options);
65+
$request = parent::createRequest($httpMethod, $path, $body, $headers, $options);
6666

6767
if ($modifiedAt = $this->getCache()->getModifiedSince($path)) {
6868
$modifiedAt = new \DateTime('@'.$modifiedAt);

0 commit comments

Comments
 (0)