changeset 4484:7605da1c3b5c

wsgicgi: change stdin to binary mode
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 04 Jun 2007 00:24:48 -0300
parents 769cc8ef5b72
children 22ebd6ee5672 4dfb9f232a63
files mercurial/hgweb/wsgicgi.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/wsgicgi.py	Mon Jun 04 00:24:48 2007 -0300
+++ b/mercurial/hgweb/wsgicgi.py	Mon Jun 04 00:24:48 2007 -0300
@@ -12,6 +12,7 @@
 from mercurial import util
 
 def launch(application):
+    util.set_binary(sys.stdin)
     util.set_binary(sys.stdout)
 
     environ = dict(os.environ.items())