-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
I've run into an issue when using the DownloadReleaseAsset function in the github.com/google/go-github library. It appears the GitHub API will not correctly download a release asset binary when two Accept headers are present.
Transport.RoundTrip adds it's own Accept header which causes the download to fail as the API is looking for a single header with the value application/octet-stream.
Here is the link the the GitHub API documentation https://developer.github.com/v3/repos/releases/#get-a-single-release-asset
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels