summaryrefslogtreecommitdiffstats
path: root/lib/python/web_support.py
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2009-10-11 12:52:56 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2009-10-11 12:52:56 +0000
commitd7018dee76bb1c929dffd1588c0e83bdfe0ce554 (patch)
treee12ee9dd6560e2e9a7bd83e24d8999c9b544b5c2 /lib/python/web_support.py
parent1bd725dc2d50c14d963a0178dfe0d98176b33150 (diff)
lib/python/web_support.py (BinaryResult_later): call end_headers()
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@12987 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/web_support.py')
-rw-r--r--lib/python/web_support.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/web_support.py b/lib/python/web_support.py
index 065f93bccc..0e68318c7b 100644
--- a/lib/python/web_support.py
+++ b/lib/python/web_support.py
@@ -633,6 +633,7 @@ class BinaryResult(Result):
def later(req):
req.send_response(self.status)
req.send_header('Content-Type', self.mimetype)
+ req.end_headers()
req.wfile.write(self.contents)
return later

© 2014-2024 Faster IT GmbH | imprint | privacy policy