Comment 2 for bug 98284

Revision history for this message
Paul Winkler (slinkp) wrote :

oops, forgot the patch and the collector's not letting me upload now.

Originally I had size=-1 but that caused some publisher test failures, no time to research that now; this version seems OK.

 *** http.py.origorig Fri Feb 17 18:16:40 2006
 --- http.py Fri Feb 17 19:12:22 2006
 ***************
 *** 198,205 ****
           self.cacheStream.write(data)
           return data

 ! def readline(self):
 ! data = self.stream.readline()
           self.cacheStream.write(data)
           return data

 --- 198,205 ----
           self.cacheStream.write(data)
           return data

 ! def readline(self, size=None):
 ! data = self.stream.readline(size)
           self.cacheStream.write(data)
           return data