requests.{get,post} timeout
Grant Edwards
grant.b.edwards at gmail.com
Tue Aug 22 14:31:09 EDT 2017
On 2017-08-22, Chris Angelico <rosuav at gmail.com> wrote:
> """
> Once your client has connected to the server and sent the HTTP
> request, the read timeout is the number of seconds the client will
> wait for the server to send a response. (Specifically, it's the number
> of seconds that the client will wait between bytes sent from the
> server. In 99.9% of cases, this is the time before the server sends
> the first byte).
> """
>
> "Between bytes" implies that you could have a long request, as long as
> there's a keep-alive transmission every few seconds.
Except a keep-alive transmission doesn't contain any bytes, so it
shouldn't reset the timer.
--
Grant Edwards grant.b.edwards Yow! It's some people
at inside the wall! This is
gmail.com better than mopping!
More information about the Python-list
mailing list