cli/api
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
..
client.go Change API authentication to allow asset downloads 2020-08-21 18:00:52 +02:00
client_test.go Add release download, upload files on create, upload retrying 2020-08-21 18:00:52 +02:00
pull_request_test.go Prevent crash when encountering "STALE" check conclusion 2020-03-27 09:54:11 +01:00
queries_issue.go Respect the hostname of current repository in queries 2020-07-23 22:31:08 +02:00
queries_issue_test.go Add milestone filter 2020-06-13 20:53:41 -05:00
queries_org.go Merge remote-tracking branch 'origin' into ghe-api 2020-07-27 20:13:54 +02:00
queries_pr.go Preliminary gh release commands 2020-08-19 18:25:02 +02:00
queries_pr_test.go Name more queries in test stubs 2020-07-10 20:20:33 +02:00
queries_repo.go Merge remote-tracking branch 'origin' into pr-commands-isolate 2020-08-04 15:01:30 +02:00
queries_repo_test.go isolate repo create command 2020-07-24 12:26:27 -05:00
queries_user.go Respect the hostname of current repository in queries 2020-07-23 22:31:08 +02:00