cli/pkg/cmd/factory
Mislav Marohnić 33fd6b1149 Change API authentication to allow asset downloads
We install an HTTP middleware that adds the "Authorization" header on
every HTTP request. However, our asset download process might redirect
to a 3rd-party host (Amazon S3) and we want to allow those requests but
not require that they are authenticated.

Furthermore, we need the ability to specify the `Accept` request header
without it being overwritten by middleware, so now middleware only adds
headers that are not present in a request.
2020-08-21 18:00:52 +02:00
..
default.go Ignore non-pre-authenticated hosts when parsing git remotes 2020-08-12 18:13:05 +02:00
http.go Change API authentication to allow asset downloads 2020-08-21 18:00:52 +02:00
remote_resolver.go Ignore non-pre-authenticated hosts when parsing git remotes 2020-08-12 18:13:05 +02:00
remote_resolver_test.go Ignore non-pre-authenticated hosts when parsing git remotes 2020-08-12 18:13:05 +02:00