wsgi/request.py
changeset 9943 a4aeee690bff
parent 9942 4b99196102f0
child 9944 9b3b21b7ff3e
--- a/wsgi/request.py	Tue Sep 02 10:31:13 2014 +0200
+++ b/wsgi/request.py	Tue Sep 02 13:00:47 2014 +0200
@@ -41,6 +41,10 @@
     """
 
     def __init__(self, environ, vreg):
+        # self.vreg is used in get_posted_data, which is called before the
+        # parent constructor.
+        self.vreg = vreg
+
         self.environ = environ
         self.path = environ['PATH_INFO']
         self.method = environ['REQUEST_METHOD'].upper()