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
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
self. cacheStream. write(data)
--- http.py Fri Feb 17 19:12:22 2006
***************
*** 198,205 ****
return data
! def readline(self): readline( )
self. cacheStream. write(data)
! data = self.stream.
return data
--- 198,205 ----
self. cacheStream. write(data)
return data
! def readline(self, size=None): readline( size)
self. cacheStream. write(data)
! data = self.stream.
return data