[Zope-Checkins]
SVN: Zope/branches/publication-refactor/lib/python/ZServer/HTTPResponse.py
return the response from the setBody method. This is what the
handleException
Michael Kerrin
michael.kerrin at openapp.biz
Wed Apr 19 13:28:55 EDT 2006
Log message for revision 67152:
return the response from the setBody method. This is what the handleException
method expects to happen, and what setBody does if we return a stream.
Changed:
U Zope/branches/publication-refactor/lib/python/ZServer/HTTPResponse.py
-=-
Modified: Zope/branches/publication-refactor/lib/python/ZServer/HTTPResponse.py
===================================================================
--- Zope/branches/publication-refactor/lib/python/ZServer/HTTPResponse.py 2006-04-19 17:27:04 UTC (rev 67151)
+++ Zope/branches/publication-refactor/lib/python/ZServer/HTTPResponse.py 2006-04-19 17:28:54 UTC (rev 67152)
@@ -251,6 +251,7 @@
return self
else:
HTTPResponse.setBody(self, body, title, is_error, **kw)
+ return self
class ChannelPipe:
"""Experimental pipe from ZPublisher to a ZServer Channel.
More information about the Zope-Checkins
mailing list