diff --git a/requests/models.py b/requests/models.py index f9a9626b..09ea87d9 100644 --- a/requests/models.py +++ b/requests/models.py @@ -599,7 +599,7 @@ class Response(object): def generate(): chunk = [] - while True: + while 1: c = self.raw.read(1) if not c: break