Skip to content
Myr

Merge pull request #1923 from Lukasa/master

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

The timeout is in seconds.

authored by Cory Benfield · committed by Cory Benfield · parents 3c88e52, 81e88b7 · Browse files · 2 files+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:requests/api.py+1 added-1 removed
24 unmodified lines
25 :param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`.26 :param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`.27 :param files: (optional) Dictionary of 'name': file-like-objects (or {'name': ('filename', fileobj)}) for multipart encoding upload.28 :param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth.29 :param timeout: (optional) Float describing the timeout of the request.29 :param timeout: (optional) Float describing the timeout of the request in seconds.30 :param allow_redirects: (optional) Boolean. Set to True if POST/PUT/DELETE redirect following is allowed.31 :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.32 :param verify: (optional) if ``True``, the SSL cert will be verified. A CA_BUNDLE path can also be provided.33 :param stream: (optional) if ``False``, the response content will be immediately downloaded.
87 unmodified lines
modified:requests/sessions.py+1 added-1 removed
326 unmodified lines
327 for multipart encoding upload.328 :param auth: (optional) Auth tuple or callable to enable329 Basic/Digest/Custom HTTP Auth.330 :param timeout: (optional) Float describing the timeout of the331 request.331 request in seconds.332 :param allow_redirects: (optional) Boolean. Set to True by default.333 :param proxies: (optional) Dictionary mapping protocol to the URL of334 the proxy.335 :param stream: (optional) whether to immediately download the response
234 unmodified lines