Skip to content

Fix release download - #1697

Merged
mislav merged 1 commit into
trunkfrom
release-download-fix
Sep 15, 2020
Merged

Fix release download#1697
mislav merged 1 commit into
trunkfrom
release-download-fix

Conversation

@mislav

@mislav mislav commented Sep 14, 2020

Copy link
Copy Markdown
Contributor

Requesting an asset from Amazon S3 would fail because we erroneously set the Authorization: token header with a blank token.

Now, only ever try to set an Authorization request header to hosts that we have OAuth credentials for; skip the header otherwise.

Fixes #1695, followup to #1552 (comment)

Only ever try to set an `Authorization` request header to hosts that we
have OAuth credentials for; skip the header otherwise.
@mislav
mislav merged commit 8b9d427 into trunk Sep 15, 2020
@mislav
mislav deleted the release-download-fix branch September 15, 2020 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error 400 when trying to download asset(s) of a release

3 participants