devcontainers / devcontainers/cli

Download tar ball using identification token

Aperta
#531 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature-request
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

Hi,

I am using the direct tarball method to download my feature. However my tgz is stored in a secured server needing an authentication token to donwload the file. How do I specify this token in the devcontainer.json?

By looking into the code, the function `getRequestHeaders` seems to be in charge of building headers used to download the URI but there is nothing to add externally specified headers (only stuff to work with GH). Would it be possible to add the necessary to specify other headers?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.