Skip to content
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

404 responses should re-resolve the parent #7

Open
ssfrr opened this issue Dec 26, 2014 · 0 comments
Open

404 responses should re-resolve the parent #7

ssfrr opened this issue Dec 26, 2014 · 0 comments

Comments

@ssfrr
Copy link
Owner

ssfrr commented Dec 26, 2014

We changed some of the URL structure in ChainAPI, and the plan was to do 301 redirects so clients holding old URLs would still work fine, but it turns out redirects and POSTs don't play nicely, so clients with cached POST URLs were SOL.

ChainClient could automatically keep a reference to where it got each link from, and then if it ever gets a 404 it could re-request that object (and recursively do the same thing if THAT request gave a 404). That would be transparent from the application side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant