Skip to content
Myr

Fix failing test to preserve behaviour

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

  • other:+1 added−6 removed

1 file+1 added−6 removed

modified:requests/sessions.py+1 added-6 removed
76 unmodified lines
7778 if request_hooks is None or request_hooks.get('response') == []:79 return session_hooks8081 ret = {}82 for (k, v) in request_hooks.items():83 if v is not None:84 ret[k] = set(v).union(session_hooks.get(k, []))81 return merge_setting(request_hooks, session_hooks, dict_class)8286 return ret838884class SessionRedirectMixin(object):85 def resolve_redirects(self, resp, req, stream=False, timeout=None,86 verify=True, cert=None, proxies=None):87 """Receives a Response. Returns a generator of Responses."""
456 unmodified lines