services/GitHubOAuthService.php
protected function initRequest($url, $options = array()) {
		$ch = parent::initRequest($url, $options);
		curl_setopt($ch, CURLOPT_USERAGENT, 'yii-eauth extension');
		return $ch;
	}
protected function initRequest($url, $options = array()) {
		$ch = parent::initRequest($url, $options);
		curl_setopt($ch, CURLOPT_USERAGENT, 'yii-eauth extension');
		return $ch;
	}
protected function initRequest ( $ url , $ options = array ( ) ) { $ ch = parent :: initRequest ( $ url , $ options ) ; curl_setopt ( $ ch , CURLOPT_USERAGENT , 'yii-eauth extension' ) ; return $ ch ; }
Add User-Agent header

@param string $url
@param array $options
@return cURL
Add User - Agent header