Commits

Sylvain Hellegouarch committed 7edde30

Fix for #666

  • Participants
  • Parent commits 1a9c712

Comments (0)

Files changed (1)

File cherrypy/wsgiserver/__init__.py

             if sslenv:
                 self.environ.update(sslenv)
         else:
-            self.rfile = sock.makefile("r", self.rbufsize)
+            self.rfile = sock.makefile("rb", self.rbufsize)
             self.sendall = sock.sendall
         
         self.environ.update({"wsgi.input": self.rfile,