Skip to content
Myr

Improve docstring description of auth parameter

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

authored by Idan Gazit · committed by Donald Stufft · parent 809d986 · 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
132 unmodified lines
133 :param data: (optional) Dictionary or bytes to send in the body of the :class:`Request`.134 :param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`.135 :param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`.136 :param files: (optional) Dictionary of 'filename': file-like-objects for multipart encoding upload.137 :param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth.137 :param auth: (optional) Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth.138 :param timeout: (optional) Float describing the timeout of the request.139 :param allow_redirects: (optional) Boolean. Set to True by default.140 :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.141 :param return_response: (optional) If False, an un-sent Request object will returned.
165 unmodified lines