Skip to content
Myr

Timeout documentation changes.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent d8557a2 · Browse files · 2 files+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:docs/api.rst+3 added-1 removed
247 unmodified lines
248 they will be converted to the native string type assuming UTF-8 encoding.249250* Timeouts behave slightly differently. On streaming requests, the timeout251 only applies to the connection attempt. On regular requests, the timeout252 is applied to the connection process and downloading the full body.252 is applied to the connection process and on to all attempts to read data from253 the underlying socket. It does *not* apply to the total download time for the254 request.255256 ::257258 tarball_url = 'https://github.com/kennethreitz/requests/tarball/master'
9 unmodified lines
modified:HISTORY.rst+2 added
9 unmodified lines
1011- New ``Response`` property ``is_redirect``, which is true when the12 library could have processed this response as a redirection (whether13 or not it actually did).14- The ``timeout`` parameter now affects requests with both ``stream=True`` and15 ``stream=False`` equally.16172.2.1 (2014-01-23)18++++++++++++++++++19
763 unmodified lines