kennethreitz/requests — pull request #473 by jgorset (2012-03-08 12:46:51+00:00)
Title: Proxy configuration by environment variables

Hi,

I recently received [an issue](https://github.com/jgorset/facepy/issues/21) that describes difficulties in using proxies with [Facepy](http://github.com/jgorset/facepy), a Facebook Graph API client that uses requests internally. I would like to keep proxies out of my interface, and so it would be really convenient if one could configure proxies for requests through environment variables.

I've facilitated the configuration of proxies through the environment variables `HTTP_PROXY` and `HTTPS_PROXY`.

I'm not sure how I might test this feature, but if you have any ideas please let me know and I'll get right to it.