title: Python Requests Exceptions
body: <p>When i  try to post a request am getting this error and i just try to add an exception , but exception cannot handle it </p>
  
  <pre>
  
      raise ConnectionError(e, request=request)
  ConnectionError: HTTPSConnectionPool(host='www.examplewebsite.com', port=443): Max retries exceeded with url: /login/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 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',))
  </pre>
  
  <p>i have tried this 
  <br></p>
  
  <pre>
  except requests.exceptions.ConnectionError as C:
      print "Failed"
  except requests.exceptions.TooManyRedirects:
      print "Failed"
  </pre>
  
  <p>But still the same Error </p>
  
  <p>any way to solve it ?</p>
  
  <p>Edit : </p>
  
  <pre>
  def job(lk):
      try:
          session = requests.session()
  
          headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0'}
          r = session.get("https://www.example.com/login/")
          post = session.post('https://www.example.com', data={"log": "name",
                                                                         "pwd": "name",},
                                                                          headers=headers)
          rGet = session.get('https://www.example.com')
  
  
      except requests.exceptions.ConnectionError as C:
          print "Failed 2"
      except requests.exceptions.TooManyRedirects:
          print "Failed 3"
   </pre>