We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session docstring for verify attribute should note that it supports a string value.
Session
verify
Currently, the Session docstring notes that its verify attribute only supports a bool.
However, session.request supports a string for its verify arg: https://github.com/psf/requests/blob/main/src/requests/sessions.py#L550
session.request
and when a verify arg isn't passed to session.request, then session.verify is used instead:
session.verify
https://github.com/psf/requests/blob/main/src/requests/sessions.py#L776 https://github.com/psf/requests/blob/main/src/requests/sessions.py#L70
N/A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Session
docstring forverify
attribute should note that it supports a string value.Actual Result
Currently, the
Session
docstring notes that itsverify
attribute only supports a bool.However,
session.request
supports a string for itsverify
arg: https://github.com/psf/requests/blob/main/src/requests/sessions.py#L550and when a
verify
arg isn't passed tosession.request
, thensession.verify
is used instead:https://github.com/psf/requests/blob/main/src/requests/sessions.py#L776
https://github.com/psf/requests/blob/main/src/requests/sessions.py#L70
Reproduction Steps
N/A
System Information
N/A
The text was updated successfully, but these errors were encountered: