title: Python 3.51 Requests causes Proxy Error
body: <p>I'm trying to consume the Informatica Cloud REST API using Python (3.51) Requests (requests package version is 2.10.0):</p>
  
  <pre><code>import requests
  
  username='myuser'
  password='mypassword'
  
  genheaders = {
      'Content-Type': 'application/json',
  }
  
  data = '{"@type":"login","username":"' + username + '","password":"' + password +'"}'
  response = requests.post('https://app.informaticaondemand.com/ma/api/v2/user/login', headers=genheaders, data=data)
  </code></pre>
  
  <p>On my local machine, all works splendidly. However, on my TEST server, I get the following error:</p>
  
  <p>HTTPSConnectionPool(host='app.informaticaondemand.com', port=443): Max retries exceeded with url: /ma/api/v2/user/login (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',)))</p>
  
  <p>Annoyingly, curl works fine on the server machine:</p>
  
  <pre><code>curl -H "Content -Type: application/json" -X POST --data @Login.txt   https://app.informaticaondemand.com/ma/api/v2/user/login -k
  </code></pre>
  
  <p>Where login.txt has:</p>
  
  <p>{ "@type": "login","username":"myuser", "password":"mypassword"}</p>
  
  <p>If I don't use the -k switch, I get:</p>
  
  <p>curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: Error:14090086:SSLroutines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  More details here: <a href="http://curl.haxx.se/docs/sslcerts.html" rel="nofollow">http://curl.haxx.se/docs/sslcerts.html</a></p>
  
  <p>All is fine with the -k switch.</p>
  
  <p>I've tried setting the proxy via environment variables, prior to executing Python.exe:</p>
  
  <pre><code>set HTTP_PROXY=10.123.123.10:8080
  set HTTPS_PROXY=10.123.123.10:8080
  </code></pre>
  
  <p>But the results are the same.</p>
  
  <p>Any ideas on what to try next?</p>