Skip to content
Myr

force safe mode for async

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 0001f5b · Browse files · 1 file+5 added−0 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+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:requests/async.py+5 added
34 unmodified lines
3536 kwargs['return_response'] = False37 kwargs['prefetch'] = True3839 config = kwargs.get('config', {})40 config.update(safe_mode=True)4142 kwargs['config'] = config4344 return f(*args, **kwargs)4546 return wrapped47
49 unmodified lines