This revision was automatically updated to reflect the committed changes. Closed by commit rHGa6088d10d5f2: py3: ensure _start_response() is called with system string (authored by indygreg, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4730?vs=11340&id=11345 REVISION DETAIL https://phab.mercurial-scm.org/D4730 AFFECTED FILES mercurial/hgweb/server.py CHANGE DETAILS diff --git a/mercurial/hgweb/server.py b/mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py +++ b/mercurial/hgweb/server.py @@ -101,8 +101,8 @@ try: self.do_write() except Exception: - self._start_response("500 Internal Server Error", []) - self._write("Internal Server Error") + self._start_response(r"500 Internal Server Error", []) + self._write(b"Internal Server Error") self._done() tb = r"".join(traceback.format_exception(*sys.exc_info())) # We need a native-string newline to poke in the log To: indygreg, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel