We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3db6b5 commit 35c32b3Copy full SHA for 35c32b3
lib/Github/HttpClient/HttpClient.php
@@ -87,7 +87,8 @@ public function setHeaders(array $headers)
87
public function clearHeaders()
88
{
89
$this->headers = array(
90
- sprintf('Accept: application/vnd.github.%s+json', $this->options['api_version'])
+ sprintf('Accept: application/vnd.github.%s+json', $this->options['api_version']),
91
+ sprintf('User-Agent: %s', $this->options['user_agent']),
92
);
93
}
94
0 commit comments