-
Notifications
You must be signed in to change notification settings - Fork 1.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
Handle moved repo(301 redirect) #257
Comments
+1 |
According to the spec, all redirects should be followed.
follow-redirects may provide a simple solution. Unfortunately, it currently has a dependency on underscore which adds a whole bunch of bulk we don't want if we are running in a browser. I have raised an issue to get |
GitHub officially turned that on and my app broke: https://developer.github.com/changes/2015-07-21-automatic-redirects-for-renamed-repositories Would be awesome if this was built-in on node-github @mikedeboer. |
+1 would love to see fix for this in the node-github |
I would recommend There is still one issue. It may affect non- |
@podviaznikov @zenorocha It is probably only a partial fix. I will be improving |
Seems currently can not handle moved repo, hope it can be supported, thanks!
The text was updated successfully, but these errors were encountered: