We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2533d12 commit 92f8e71Copy full SHA for 92f8e71
sources/npmRegistryUtils.ts
@@ -6,7 +6,7 @@ import * as httpUtils from './httpUtils';
6
// load abbreviated metadata as that's all we need for these calls
7
// see: https://github.com/npm/registry/blob/cfe04736f34db9274a780184d1cdb2fb3e4ead2a/docs/responses/package-metadata.md
8
export const DEFAULT_HEADERS: OutgoingHttpHeaders = {
9
- [`Accept`]: `application/vnd.npm.install-v1+json`,
+ [`Accept`]: `application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8`,
10
};
11
export const DEFAULT_NPM_REGISTRY_URL = `https://registry.npmjs.org`;
12
0 commit comments