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

Rewrite REST code using Requests library #11

Open
graphiclunarkid opened this issue Jul 29, 2014 · 0 comments
Open

Rewrite REST code using Requests library #11

graphiclunarkid opened this issue Jul 29, 2014 · 0 comments

Comments

@graphiclunarkid
Copy link
Owner

The current code for getting data from APIs is based on a copypasta implementation of a routine from Dive Into Python. This requires manual handling of things like redirects, etags and last-modified checks. The requests library seems to offer these as built-in features so it should be easier to work with. As a bonus, Requests has HTTP/HTTPS proxy support now too, so using it should mean implementing #2 will be easier.

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