Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

opts.extraHeaders for extensible header-passing #79

Open
zkat opened this issue Apr 15, 2017 · 0 comments
Open

opts.extraHeaders for extensible header-passing #79

zkat opened this issue Apr 15, 2017 · 0 comments
Milestone

Comments

@zkat
Copy link
Owner

zkat commented Apr 15, 2017

npm-registry-client shoots out all these special headers itself. A lot of them have to do more with specific npm features than just fetching packages.

Move these headers out of pacote and into a single opts.extraHeaders opt in npm.

Examples:

  • npm-scope
  • npm-in-ci
  • referer
  • user-agent (?)
@zkat zkat added this to the npm@5 milestone Apr 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant