title: Python requests module connection timeout
body: <p>I'm looking at <a href="http://docs.python-requests.org/en/latest/" rel="noreferrer">http://docs.python-requests.org/en/latest/</a> and "Connection Timeouts" is listed as a feature.  However, when I read further, it states </p>
  
  <blockquote>
    <p>timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds (more precisely, if no bytes have been received on the underlying socket for timeout seconds).</p>
  </blockquote>
  
  <p>That doesn't sound like a description of a connection timeout.  What I'm seeing is a connection is successful, it uploads a big file and then waits for a response.  However, the response takes a while and then timesout.</p>
  
  <p>How can I set a connection timeout, but still wait for slow responses once a connection has been successful?  Thanks a lot. </p>