D2854: hgweb: use our forked wsgiheaders module instead of stdlib one
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Apr 11 19:50:28 UTC 2018
durin42 updated this revision to Diff 8009.
durin42 edited the summary of this revision.
durin42 retitled this revision from "hgweb: str/bytes followups after indygreg's refactoring" to "hgweb: use our forked wsgiheaders module instead of stdlib one".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2854?vs=7020&id=8009
REVISION DETAIL
https://phab.mercurial-scm.org/D2854
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
@@ -8,7 +8,6 @@
from __future__ import absolute_import
-import wsgiref.headers as wsgiheaders
#import wsgiref.validate
from ..thirdparty import (
@@ -19,6 +18,9 @@
pycompat,
util,
)
+from . import (
+ wsgiheaders,
+)
class multidict(object):
"""A dict like object that can store multiple values for a key.
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list