devcontainers / devcontainers/cli

Download tar ball using identification token

Abierto
#531 2 comentarios 0 reacciones 0 asignados Ver en GitHub
feature-request
Lenguaje dominante
TypeScript
Estrellas
3k
Forks
457
Merge medio
13 h 17 min
PR fusionados (30 d)
6

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.