This commit is contained in:
Andre Rodrigues 2013-04-23 17:48:17 +01:00
Родитель 7eea7bb486
Коммит dc541e420f
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -29,7 +29,6 @@ var HttpResponseCodes = Constants.HttpConstants.HttpResponseCodes;
var Logger = require('../../diagnostics/logger');
var moduleVersion = require('../../../package.json').version;
var operatingSystem = process.platform;
var DEFAULT_PROTOCOL = Constants.HTTPS;
@ -301,7 +300,7 @@ ServiceClient.prototype._performRequest = function (webResource, body, options,
ServiceClient.prototype._tagRequest = function (requestOptions) {
if (!this.userAgent) {
this.userAgent = util.format('Windows Azure SDK/%s (Node.js; %s)', moduleVersion, operatingSystem);
this.userAgent = util.format('Azure-SDK-for-Node.js/%s', moduleVersion);
}
requestOptions.headers[HeaderConstants.USER_AGENT] = this.userAgent;