mercurial/hgweb/wsgicgi.py
changeset 6922 1ec2d227a521
parent 5580 f429e0e067a8
child 7008 8fee8ff13d37
--- a/mercurial/hgweb/wsgicgi.py	Wed Aug 20 19:00:39 2008 +0200
+++ b/mercurial/hgweb/wsgicgi.py	Thu Aug 21 10:55:24 2008 +0200
@@ -62,4 +62,6 @@
         headers_set[:] = [status, response_headers]
         return write
 
-    application(environ, start_response)
+    content = application(environ, start_response)
+    for chunk in content:
+        write(chunk)