Page MenuHomePhabricator

Follow HTTP redirects
Closed, DeclinedPublic

Description

GitHub is explicit in telling you when a resource has moved by providing a redirect status code. You should follow these redirections. Every redirect response sets the Location header with the new URI to go to. If you receive a redirect, it's best to update your code to follow the new URI, in case you're requesting a deprecated path that we might remove.

https://developer.github.com/v3/#http-redirects

Event Timeline

Mass closing: Unfortunately, this project is no longer ongoing, see T158739: Create a Github notification bot for phabricator for next steps.