Skip to content

Commit 79889a6

Browse files
committed
Removed double header from a request
1 parent ac28d13 commit 79889a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Github/HttpClient/HttpClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ public function put($path, $body, array $headers = array())
135135
public function request($path, $body = null, $httpMethod = 'GET', array $headers = array(), array $options = array())
136136
{
137137
$request = $this->createRequest($httpMethod, $path, $body, $headers, $options);
138-
$request->addHeaders($headers);
139138

140139
try {
141140
$response = $this->client->send($request);

0 commit comments

Comments
 (0)