title: Python Request response time timeouts
body: <p>I am trying to perform some benchmarking and having some issues with Request. The problem is that if the response time is high it throws some errors. How can I make it return the <code>else</code> if  the <code>request.get</code> waits more than for instance 2 seconds.</p>
  
  <pre><code>time = requests.get('http://www.google.com').elapsed.total_seconds()
  
  if time &lt; 1:
      print "Low response time"
  else:
      print "High reponse time"
  </code></pre>