devcontainers / devcontainers/cli

Download tar ball using identification token

Đang mở
#531 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature-request
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.