-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Accept header in DownloadReleaseAsset. #870
Comments
Thanks for reporting. I suspect this is a bug that affects all GitHub versions.
We should remove |
I'm also facing this problem even if I use GitHub API (not enterprise). After the |
…ownloadReleaseAsset() Fixes google#870
…ownloadReleaseAsset() Fixes google#870
…ownloadReleaseAsset() Fixes google#870
go-github/github/repos_releases.go
Line 256 in d2b80df
I was able to confirm with curl, that removing
mediaTypeGraphQLNodeIDPreview
from the Accept header will result in the server returning the correct response.With the
mediaTypeGraphQLNodeIDPreview
Accept header the v3 json response is returned.The text was updated successfully, but these errors were encountered: