-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Send PAT as authorization header rather than through the query string when downloading releases #972
Comments
Reopening since I need to revert the fix as it caused regressions (see #976). |
Just got the same email today so it is still going to be an issue! ======= https://api.github.com/repositories/19611854/releases/assets/25532968 Please use the Authorization HTTP header instead, as using the Depending on your API usage, we'll be sending you this email reminder on a monthly basis for each token and User-Agent used in API calls made on your behalf. Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates. |
From #976 (comment)
so why not remove it @maniac103? |
I'm not sure why you're asking this here, but the reason is Android's download manager not being under Octodroid's control. (Having said that, I would've sworn I already fixed #976 by implementing the workaround approach suggested by GH staff. Need to check where that commit went :-/ ) |
lol but I assume |
So far, it doesn't. It takes the URL in the release asset object and passes that to the Android download manager. The new code adds another intermediate request for resolving the redirect. |
I received the following notification from GitHub yesterday after downloading a release package on my device through Octodroid:
It would be great if this could be adjusted so that I can continue to download the occasional APK from repositories.
In this particular case the repository is public.
The text was updated successfully, but these errors were encountered: