title: Python: Accessing HTTPS url over Proxy using Requests
body: <pre><code>import shutil
  import requests
  import json
  
  proxy = {
  'user' : 'user',
  'pass' : 'password',
  'host' : "test.net",
  'port' : 8080
  }
  
  url = 'https://github.com/timeline.json'
  response = requests.get(url,verify=True, proxies={"https" : \
  "http://%(user)s:%(pass)s@%(host)s:%(port)d" % proxy})
  
  with open(r'..\test.json','wb') as out_file:
        out_file.write(response.text)
  print response
  </code></pre>
  
  <p>I'm trying to access a HTTPS link (e.g <a href="https://github.com/timeline.json" rel="nofollow">https://github.com/timeline.json</a>) over proxy in office environment using Requests.</p>
  
  <p>Accessing HTTP link seems to be working fine. Getting SSL error in HTTPS. 
  Please suggest what's missing in the code. Thanks!</p>
  
  <p>Error received:     </p>
  
  <pre><code>raise SSLError(e)
  requests.exceptions.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol
  </code></pre>