title: Can't get python requests to work with proxies
body: <p>I am trying to do a simple get request through a proxy server:</p>
  
  <pre><code>import requests
  test=requests.get("http://google.com", proxies={"http": "112.5.254.30:80"})
  print test.text
  </code></pre>
  
  <p>The address of the proxy server in the code is just from some freely available proxy lists on the internet. The point is that this same proxy server works when I use it from browser, but it doesn't work from this program. And i tried many different proxy servers and none of them works through above code.</p>
  
  <p>Here is what I get for this proxy server:</p>
  
  <blockquote>
    <p><H2>The requested URL could not be retrieved</H2>  <P> While trying to retrieve the URL: http:/// <P> The following error was encountered:
    <BLOCKQUOTE> Unable to determine IP address from host name for <I></I>
    </BLOCKQUOTE></p>
    
    <p><P> The dnsserver returned: <BLOCKQUOTE> Invalid hostname
    </BLOCKQUOTE></p>
    
    <p><P> This means that:   The cache was not able to resolve the
    hostname presented in the URL.   Check if the address is correct.</p>
  </blockquote>