Skip to content
Myr

Merge pull request #3812 from inglesp/patch-1

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

Add default value of allow_redirects to docs

authored by Cory Benfield · committed by GitHub · parents e2bd1f9, 2432dd6 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/api.py+1 added-1 removed
31 unmodified lines
32 :param timeout: (optional) How long to wait for the server to send data33 before giving up, as a float, or a :ref:`(connect timeout, read34 timeout) <timeouts>` tuple.35 :type timeout: float or tuple36 :param allow_redirects: (optional) Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection.36 :param allow_redirects: (optional) Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection. Defaults to ``True``.37 :type allow_redirects: bool38 :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.39 :param verify: (optional) whether the SSL cert will be verified. A CA_BUNDLE path can also be provided. Defaults to ``True``.40 :param stream: (optional) if ``False``, the response content will be immediately downloaded.
110 unmodified lines