feat(http): add GCP authentication for ar+https scheme

This commit is contained in:
Ato Araki
2025-11-13 14:46:27 +09:00
parent ba65daf6cb
commit af483d1165
5 changed files with 182 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ func NewDownloader(downLimit int64, maxTries int, progress aptly.Progress) aptly
transport.DisableCompression = true
initTransport(&transport)
transport.RegisterProtocol("ftp", &protocol.FTPRoundTripper{})
transport.RegisterProtocol("ar+https", NewGCPRoundTripper(&transport))
downloader := &downloaderImpl{
progress: progress,