Skip to content
Myr

restore allow_redirect behavior

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 ddc5452 · Browse files · 1 file+7 added−4 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+7 added−4 removed

  • other:+7 added−4 removed

1 file+7 added−4 removed

modified:requests/api.py+7 added-4 removed
35 unmodified lines
36 """37 data = kwargs.pop('data', dict()) or kwargs.pop('params', dict())3839 r = Request(method=method, url=url, data=data, headers=kwargs.pop('headers', {}),40 cookiejar=kwargs.pop('cookies', None), files=kwargs.pop('files', None),41 auth=kwargs.pop('auth', auth_manager.get_auth(url)),42 timeout=kwargs.pop('timeout', settings.timeout))43 40 cookiejar=kwargs.pop('cookies', None),41 files=kwargs.pop('files', None),42 auth=kwargs.pop('auth', auth_manager.get_auth(url)),43 timeout=kwargs.pop('timeout', settings.timeout),44 allow_redirects=kwargs.pop('allow_redirects', None)45 )4647 r.send()4849 return r.response50
71 unmodified lines