[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/http.py Fix
the level 2 test failure in
zope.app.twisted.tests.test_inputbuffering.
Marius Gedminas
marius at pov.lt
Mon Oct 9 15:13:56 EDT 2006
Log message for revision 70591:
Fix the level 2 test failure in zope.app.twisted.tests.test_inputbuffering.
Changed:
U Zope3/trunk/src/zope/publisher/http.py
-=-
Modified: Zope3/trunk/src/zope/publisher/http.py
===================================================================
--- Zope3/trunk/src/zope/publisher/http.py 2006-10-09 19:00:41 UTC (rev 70590)
+++ Zope3/trunk/src/zope/publisher/http.py 2006-10-09 19:13:55 UTC (rev 70591)
@@ -205,7 +205,11 @@
return data
def readline(self, size=None):
- data = self.stream.readline(size)
+ # 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
More information about the Zope3-Checkins
mailing list