kennethreitz/requests — pull request #829 by SecurityForUs (2012-09-01 01:43:24+00:00)
Title: Develop

This is for commit https://github.com/SecurityForUs/requests/commit/e35e561a55f4223b4b69312c01677042a854327c

Currently if you pass proxy settings like this:
```python
proxy = {"https" : ""}
req = requests.get("http://www.google.com", proxies=proxy)
```
The request will be sent through an empty proxy (""). Every request will return a 404 since it cannot connect to a non-existent proxy. While I know there should be error checking for this on the developer's side, I thought it would be helpful to pass along a fix to this as well.