This revision was automatically updated to reflect the committed changes. Closed by commit rHGe320d9405bba: hgweb: put response headers back into str for Python 3 (authored by durin42, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3248?vs=8012&id=8067 REVISION DETAIL https://phab.mercurial-scm.org/D3248 AFFECTED FILES mercurial/hgweb/request.py CHANGE DETAILS diff --git a/mercurial/hgweb/request.py b/mercurial/hgweb/request.py --- a/mercurial/hgweb/request.py +++ b/mercurial/hgweb/request.py @@ -518,8 +518,10 @@ if not chunk: break + strheaders = [(pycompat.strurl(k), pycompat.strurl(v)) for + k, v in self.headers.items()] write = self._startresponse(pycompat.sysstr(self.status), - self.headers.items()) + strheaders) if self._bodybytes: yield self._bodybytes To: durin42, #hg-reviewers, indygreg Cc: indygreg, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel