Commit f4c5d357 authored by Gerhard Weis's avatar Gerhard Weis

fix #44. Publish IUnboundStreamIterator via publish_module

parent 31dd90d6
......@@ -282,7 +282,7 @@ def publish_module(environ, start_response,
body = response.body
if isinstance(body, file) or IStreamIterator.providedBy(body):
if isinstance(body, file) or IUnboundStreamIterator.providedBy(body):
result = body
else:
# 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