##// END OF EJS Templates
py3: ensure _start_response() is called with system string...
Gregory Szorc -
r39852:a6088d10 default
parent child Browse files
Show More
@@ -101,8 +101,8 b' class _httprequesthandler(httpservermod.'
101 try:
101 try:
102 self.do_write()
102 self.do_write()
103 except Exception:
103 except Exception:
104 self._start_response("500 Internal Server Error", [])
104 self._start_response(r"500 Internal Server Error", [])
105 self._write("Internal Server Error")
105 self._write(b"Internal Server Error")
106 self._done()
106 self._done()
107 tb = r"".join(traceback.format_exception(*sys.exc_info()))
107 tb = r"".join(traceback.format_exception(*sys.exc_info()))
108 # We need a native-string newline to poke in the log
108 # We need a native-string newline to poke in the log
General Comments 0
You need to be logged in to leave comments. Login now