title: error :requests.exceptions.ConnectionError
body: <p>i tried to connect share point with two ways:</p>
  
  <pre><code>#one way 
  server_url = 'http://*****/'
  site_url = server_url + '*****'
  opener.open(server_url)
  opener = basic_auth_opener(server_url,'****', '******')
  
  #another way
  from requests.auth import HTTPBasicAuth
  reportReq = requests.get('%s:%d/' % ('http://*******', 80),     auth=HTTPBasicAuth('*****', '****'), verify=True)
  </code></pre>
  
  <p>here is the error:</p>
  
  <pre><code>requests.exceptions.ConnectionError: HTTPConnectionPool(host='***', port=80): (Caused by &lt;class 'socket.gaierror'&gt;: [Errno -2] Name or service not known)
  </code></pre>