Skip to content
Myr

default to true for redirects now, since safe

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 1859192 · Browse files · 1 file+2 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

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/sessions.py+2 added-2 removed
113 unmodified lines
114 cookies=None,115 files=None,116 auth=None,117 timeout=None,118 allow_redirects=False,118 allow_redirects=True,119 proxies=None,120 hooks=None,121 return_response=True,122 config=None,
12 unmodified lines
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.138 :param timeout: (optional) Float describing the timeout of the request.139 :param allow_redirects: (optional) Boolean. Set to True if POST/PUT/DELETE redirect following is allowed.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.142 :param config: (optional) A configuration dictionary.143 :param prefetch: (optional) if ``True``, the response content will be immediately downloaded.
162 unmodified lines