提交 aa634df1 编写于 作者: J Joao Moreno

send user-agent header to marketplace

上级 8ea86b10
......@@ -279,7 +279,8 @@ export class GalleryService implements IGalleryService {
private getRequestHeaders(): TPromise<any> {
return this.machineId.then(machineId => {
const result = {
'X-Market-Client-Id': 'VSCode'
'X-Market-Client-Id': 'VSCode',
'User-Agent': 'VSCode'
};
if (machineId) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册