mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Merge branch 'memoryleak' into develop
Conflicts: requests/models.py
This commit is contained in:
@@ -192,6 +192,8 @@ class Request(object):
|
||||
(self.allow_redirects))
|
||||
):
|
||||
|
||||
r.close()
|
||||
|
||||
if not len(history) < 30:
|
||||
raise TooManyRedirects()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user