Skip to content
Myr

Merge pull request #2728 from lukasgraf/docs-fix-timeout-links

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 · parents 98a59e4, f40bd0f · Browse files · 3 files+6 added−6 removed
This commit

State

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

Trailers

  • Docs: Fix links to `timeouts` section by using :ref:

Diff stats

3 files+6 added−6 removed

  • other:+6 added−6 removed

3 files+6 added−6 removed

modified:requests/adapters.py+2 added-2 removed
325 unmodified lines
326327 :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.328 :param stream: (optional) Whether to stream the request content.329 :param timeout: (optional) How long to wait for the server to send330 data before giving up, as a float, or a (`connect timeout, read331 timeout <user/advanced.html#timeouts>`_) tuple.330 data before giving up, as a float, or a :ref:`(connect timeout,331 read timeout) <timeouts>` tuple.332 :type timeout: float or tuple333 :param verify: (optional) Whether to verify SSL certificates.334 :param cert: (optional) Any user-provided SSL certificate to be trusted.335 :param proxies: (optional) The proxies dictionary to apply to the request.
100 unmodified lines
modified:requests/api.py+2 added-2 removed
25 unmodified lines
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) How long to wait for the server to send data30 before giving up, as a float, or a (`connect timeout, read timeout31 <user/advanced.html#timeouts>`_) tuple.30 before giving up, as a float, or a :ref:`(connect timeout, read31 timeout) <timeouts>` tuple.32 :type timeout: float or tuple33 :param allow_redirects: (optional) Boolean. Set to True if POST/PUT/DELETE redirect following is allowed.34 :type allow_redirects: bool35 :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.
112 unmodified lines
modified:requests/sessions.py+2 added-2 removed
422 unmodified lines
423 for multipart encoding upload.424 :param auth: (optional) Auth tuple or callable to enable425 Basic/Digest/Custom HTTP Auth.426 :param timeout: (optional) How long to wait for the server to send427 data before giving up, as a float, or a (`connect timeout, read428 timeout <user/advanced.html#timeouts>`_) tuple.427 data before giving up, as a float, or a :ref:`(connect timeout,428 read timeout) <timeouts>` tuple.429 :type timeout: float or tuple430 :param allow_redirects: (optional) Set to True by default.431 :type allow_redirects: bool432 :param proxies: (optional) Dictionary mapping protocol to the URL of
251 unmodified lines