Skip to content
Myr

Thanks to @maxcountryman for the code review

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

authored by Ian Cordasco · committed by Ian Cordasco · parent a95bfd3 · Browse files · 1 file+2 added−6 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−6 removed

  • other:+2 added−6 removed

1 file+2 added−6 removed

modified:requests/sessions.py+2 added-6 removed
365 unmodified lines
366 def send(self, request, **kwargs):367 """Send a given PreparedRequest."""368 # Set up variables needed for resolve_redirects and dispatching of369 # hooks370 allow_redirects = True371 if 'allow_redirects' in kwargs:372 allow_redirects = kwargs.pop('allow_redirects')373 req = None374 if 'req' in kwargs:375 req = kwargs.pop('req')370 allow_redirects = kwargs.pop('allow_redirects', True)371 req = kwargs.pop('req', None)372 stream = kwargs.get('stream', False)373 timeout = kwargs.get('timeout')374 verify = kwargs.get('verify')375 cert = kwargs.get('cert')
64 unmodified lines