Changed makefile() args from r/w to rb/wb, for non-unix compatability.

This commit is contained in:
Jack Jansen 1996-02-14 16:06:24 +00:00
parent 0d12ead05c
commit 2bb57b81f2
5 changed files with 7 additions and 7 deletions

View file

@ -392,8 +392,8 @@ class StreamRequestHandler(BaseRequestHandler):
def setup(self):
self.connection = self.request
self.rfile = self.connection.makefile('r')
self.wfile = self.connection.makefile('w', 0)
self.rfile = self.connection.makefile('rb')
self.wfile = self.connection.makefile('wb', 0)
def finish(self):
self.wfile.flush()