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. |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| pull_request_test.go | ||
| queries_issue.go | ||
| queries_issue_test.go | ||
| queries_org.go | ||
| queries_pr.go | ||
| queries_pr_test.go | ||
| queries_repo.go | ||
| queries_repo_test.go | ||
| queries_user.go | ||