mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
r.fo bugfix
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ class Request(object):
|
||||
(self.allow_redirects))
|
||||
):
|
||||
|
||||
r.close()
|
||||
r.fo.close()
|
||||
|
||||
if not len(history) < settings.max_redirects:
|
||||
raise TooManyRedirects()
|
||||
|
||||
Reference in New Issue
Block a user