Skip to content
Myr

fix for python 3

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

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/sessions.py+1 added-1 removed
672 unmodified lines
673674 # If redirects aren't being followed, store the response on the Request for Response.next().675 if not allow_redirects:676 try:677 r._next = self.resolve_redirects(r, request, yield_requests=True, **kwargs).next()677 r._next = next(self.resolve_redirects(r, request, yield_requests=True, **kwargs))678 except StopIteration:679 pass680681 if not stream:
86 unmodified lines