Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mislav
Copy link
Contributor

@mislav mislav commented Sep 14, 2020

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