mercurial/hgweb/hgweb_mod.py
changeset 36856 1f7d9024674c
parent 36814 f9078c6caeb6
child 36861 a88d68dc3ee8
--- a/mercurial/hgweb/hgweb_mod.py	Sat Mar 10 11:03:45 2018 -0800
+++ b/mercurial/hgweb/hgweb_mod.py	Sat Mar 10 10:56:10 2018 -0800
@@ -304,7 +304,7 @@
                     yield r
 
     def _runwsgi(self, wsgireq, repo):
-        req = requestmod.parserequestfromenv(wsgireq.env)
+        req = wsgireq.req
         rctx = requestcontext(self, repo)
 
         # This state is global across all threads.