-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
GET request to PyPI does not work #33
Comments
Requests does have extensive redirection support. Looks like PyPI is attempting a relative redirect. I don't think that's a valid redirect, but I'll try to support it. |
Yeah, that's not a valid form of redirection. See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 I see no harm in trying to support it though. |
Ok, thank you. I didn't know that. |
Support for this was just added. It will be included in the next release. |
Ok thank you very much! |
✨🍰✨ |
Hi,
requests
it is fantastic!But if I try to retrieve data from
http://pypi.python.org/simple/sphinx/
I get the following error:That is because PyPI redirects me to that url. You should really allow redirections.
rubik
The text was updated successfully, but these errors were encountered: