The API v3 sometimes uses HTTP redirections, for example when the repository's name has changed.
Github documentation about the redirections: https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#http-redirects
I found this when trying to use magit-gh-pulls on a repository that had changed the name recently and I didn't updated the origin url, digging on the responses I saw that github was answering with a Moved Permanently redirect but gh wasn't following it.
Comment on magit-gh-pulls about it: sigma/magit-gh-pulls#107 (comment)
The API v3 sometimes uses HTTP redirections, for example when the repository's name has changed.
Github documentation about the redirections: https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#http-redirects
I found this when trying to use
magit-gh-pullson a repository that had changed the name recently and I didn't updated the origin url, digging on the responses I saw that github was answering with a Moved Permanently redirect butghwasn't following it.Comment on
magit-gh-pullsabout it: sigma/magit-gh-pulls#107 (comment)