Added space and sentence case

Added space and sentence case as requested by sigmavirus24.
https://github.com/kennethreitz/requests/pull/2168
This commit is contained in:
ContinuousFunction
2014-08-21 11:05:02 -07:00
parent 2fc6e8a894
commit c7e087cf56
+2 -2
View File
@@ -91,13 +91,13 @@ class SessionRedirectMixin(object):
"""Receives a Response. Returns a generator of Responses."""
i = 0
hist = [] #keep track of history
hist = [] # keep track of history
while resp.is_redirect:
prepared_request = req.copy()
if i > 0:
#update history and keep track of redirects
# Update history and keep track of redirects.
hist.append(resp)
new_hist = list(hist)
resp.history = new_hist