diff options
author | Robo <hop2deep@gmail.com> | 2021-12-07 00:35:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 00:35:50 +0300 |
commit | 7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e (patch) | |
tree | 9e296458fc6a989bb3b112bb91b2954d9dea160b | |
parent | 9580998151f73ee39adbb8c23d9ed4abad8b127f (diff) |
revert changes to User agent header (#138556)1.63.0
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
-rw-r--r-- | src/vs/platform/extensionManagement/common/extensionGalleryService.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vs/platform/extensionManagement/common/extensionGalleryService.ts b/src/vs/platform/extensionManagement/common/extensionGalleryService.ts index 6cea0d617fe..f547bdb49cf 100644 --- a/src/vs/platform/extensionManagement/common/extensionGalleryService.ts +++ b/src/vs/platform/extensionManagement/common/extensionGalleryService.ts @@ -1035,8 +1035,7 @@ export async function resolveMarketplaceHeaders(version: string, productService: } | undefined): Promise<{ [key: string]: string; }> { const headers: IHeaders = { 'X-Market-Client-Id': `VSCode ${version}`, - 'X-Market-Client-Version': version, - 'User-Agent': `VSCode (${productService.nameShort})`, + 'User-Agent': `VSCode ${version}` }; const uuid = await getServiceMachineId(environmentService, fileService, storageService); if (supportsTelemetry(productService, environmentService) && getTelemetryLevel(configurationService) === TelemetryLevel.USAGE) { |