Skip to content
Myr

Add hint to :param verify.

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

It is not clear that :param verify defaults to True. The way the verify portion of the docstring is written it looks like it defaults to False, and you have to pass in True if you'd like the SSL cert to be verified, but the opposite is the case.

authored by Brian Samek · committed by Brian Samek · parent e48fea7 · 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/sessions.py+1 added-1 removed
432 unmodified lines
433 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.437 A CA_BUNDLE path can also be provided.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 """441 # Create the Request.
239 unmodified lines