[Zope3-checkins] SVN: Zope3/branches/3.3/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:15:57 EDT 2006
Log message for revision 70592:
Fix the level 2 test failure in zope.app.twisted.tests.test_inputbuffering.
Merged from trunk with
svn merge -r 70590:70591 svn+ssh://svn.zope.org/repos/main/Zope3/trunk .
Changed:
U Zope3/branches/3.3/src/zope/publisher/http.py
-=-
Modified: Zope3/branches/3.3/src/zope/publisher/http.py
===================================================================
--- Zope3/branches/3.3/src/zope/publisher/http.py 2006-10-09 19:13:55 UTC (rev 70591)
+++ Zope3/branches/3.3/src/zope/publisher/http.py 2006-10-09 19:15:56 UTC (rev 70592)
@@ -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