mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Undo stupid change to while loop
This commit is contained in:
+1
-1
@@ -599,7 +599,7 @@ class Response(object):
|
||||
def generate():
|
||||
chunk = []
|
||||
|
||||
while True:
|
||||
while 1:
|
||||
c = self.raw.read(1)
|
||||
if not c:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user