devcontainers / devcontainers/cli

Download tar ball using identification token

Ouverte
#531 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature-request
Langage dominant
TypeScript
Étoiles
3k
Forks
457
Merge moyen
13 h 17 min
PR mergées (30 j)
6

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.