mercurial/hgweb/request.py
changeset 36856 1f7d9024674c
parent 36855 2cdf47e14c30
child 36857 da4e2f87167d
--- a/mercurial/hgweb/request.py	Sat Mar 10 11:03:45 2018 -0800
+++ b/mercurial/hgweb/request.py	Sat Mar 10 10:56:10 2018 -0800
@@ -254,6 +254,8 @@
         self.server_write = None
         self.headers = []
 
+        self.req = parserequestfromenv(wsgienv)
+
     def respond(self, status, type, filename=None, body=None):
         if not isinstance(type, str):
             type = pycompat.sysstr(type)