Skip to content
Myr

timeout

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 5b5ff69 · Browse files · 1 file+2 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

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:docs/user/quickstart.rst+2 added-1 removed
383 unmodified lines
384385 >>> requests.get('http://github.com', timeout=0.001)386 Traceback (most recent call last):387 File "<stdin>", line 1, in <module>388 requests.exceptions.Timeout: Request timed out.388 requests.exceptions.Timeout: HTTPConnectionPool(host='github.com', port=80): Request timed out. (timeout=0.001)389390391.. admonition:: Note:392393 ``timeout`` only effects the connection process itself, not the394 downloading of the response body.
28 unmodified lines