Commit 07ec7682 authored by Gerhard Weis's avatar Gerhard Weis

fix #44. Publish IUnboundStreamIterator via publish_module

parent f0d1a339
...@@ -282,7 +282,7 @@ def publish_module(environ, start_response, ...@@ -282,7 +282,7 @@ def publish_module(environ, start_response,
body = response.body body = response.body
if isinstance(body, file) or IStreamIterator.providedBy(body): if isinstance(body, file) or IUnboundStreamIterator.providedBy(body):
result = body result = body
else: else:
# If somebody used response.write, that data will be in the # If somebody used response.write, that data will be in the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment