Skip to content

Commit

Permalink
revert changes to User agent header (#138556)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandeep Somavarapu <[email protected]>
  • Loading branch information
deepak1556 and sandy081 authored Dec 6, 2021
1 parent 9580998 commit 7db1a2b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7db1a2b

Please sign in to comment.