The current code in http.py is:
def readline(self, size=None): # XXX We should pass the ``size`` argument to self.stream.readline # but twisted.web2.wsgi.InputStream.readline() doesn't accept it. # See http://www.zope.org/Collectors/Zope3-dev/535 and # http://twistedmatrix.com/trac/ticket/1451 data = self.stream.readline() self.cacheStream.write(data) return data
Twisted is fixed and now accept the "size" argument. Should we pass it now?
The current code in http.py is:
def readline(self, size=None): readline web2.wsgi. InputStream. readline( ) doesn't accept it. www.zope. org/Collectors/ Zope3-dev/ 535 and twistedmatrix. com/trac/ ticket/ 1451 readline( )
self.cacheStre am.write( data)
# XXX We should pass the ``size`` argument to self.stream.
# but twisted.
# See http://
# http://
data = self.stream.
return data
Twisted is fixed and now accept the "size" argument. Should we pass it now?