title: Python error with request post : 'Connection aborted, timeout('The write operation timed out')
body: <p>I am using requests post to send some data, now i have set the timeout value of requests.post to something like 60. other similar questions where related to specific applications so i wanted to ask it as a generic python error.</p>
  <p>this is the error i get:</p>
  <pre><code>failed to connect  ('Connection aborted.', timeout('The write operation timed out'))
  </code></pre>
  <p>I assume this is because for some reason my thread couldn't send all the data in time, but I am not sure so just wanted to check. so :</p>
  <ol>
  <li><p>is this error happening because the thread couldn't send out all the data in the timeout time?</p>
  </li>
  <li><p>if so, is there anyway i can set the timeout in a way that only starts after i send out all the data out? i don't want to wait for ever for the server to respond, but obviously i want the timer to start when i send all the data out, and not at the start of function call. (and the data i send varies in size)</p>
  </li>
  </ol>