Comment 13 for bug 98284

Revision history for this message
Christophe Combelles (ccomb) wrote :

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?