Skip to content
Myr

Merge pull request #2926 from bsamek/master

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

Refactor default params

authored by Ian Cordasco · committed by Ian Cordasco · parents 2d91365, 9aca57d · Browse files · 3 files+3 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

3 files+3 added−2 removed

  • other:+3 added−2 removed

3 files+3 added−2 removed

modified:requests/api.py+1 added-1 removed
31 unmodified lines
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.36 :param verify: (optional) if ``True``, the SSL cert will be verified. A CA_BUNDLE path can also be provided.36 :param verify: (optional) whether the SSL cert will be verified. A CA_BUNDLE path can also be provided. Defaults to ``True``.37 :param stream: (optional) if ``False``, the response content will be immediately downloaded.38 :param cert: (optional) if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair.39 :return: :class:`Response <Response>` object40 :rtype: requests.Response
105 unmodified lines
modified:requests/sessions.py+1 added-1 removed
431 unmodified lines
432 :param proxies: (optional) Dictionary mapping protocol or protocol and433 hostname to the URL of the proxy.434 :param stream: (optional) whether to immediately download the response435 content. Defaults to ``False``.436 :param verify: (optional) if ``True``, the SSL cert will be verified.436 :param verify: (optional) whether the SSL cert will be verified.437 A CA_BUNDLE path can also be provided. Defaults to ``True``.438 :param cert: (optional) if String, path to ssl client cert file (.pem).439 If Tuple, ('cert', 'key') pair.440 """
240 unmodified lines
modified:AUTHORS.rst+1 added
160 unmodified lines
161- Colin Dickson (`@colindickson <https://github.com/colindickson>`_)162- Smiley Barry (`@smiley <https://github.com/smiley>`_)163- Shagun Sodhani (`@shagunsodhani <https://github.com/shagunsodhani>`_)164- Robin Linderborg (`@vienno <https://github.com/vienno>`_)165- Brian Samek(`@bsamek <https://github.com/bsamek`_)