equal
deleted
inserted
replaced
39 class CubicWebWsgiRequest(CubicWebRequestBase): |
39 class CubicWebWsgiRequest(CubicWebRequestBase): |
40 """most of this code COMES FROM DJANGO |
40 """most of this code COMES FROM DJANGO |
41 """ |
41 """ |
42 |
42 |
43 def __init__(self, environ, vreg): |
43 def __init__(self, environ, vreg): |
|
44 # self.vreg is used in get_posted_data, which is called before the |
|
45 # parent constructor. |
|
46 self.vreg = vreg |
|
47 |
44 self.environ = environ |
48 self.environ = environ |
45 self.path = environ['PATH_INFO'] |
49 self.path = environ['PATH_INFO'] |
46 self.method = environ['REQUEST_METHOD'].upper() |
50 self.method = environ['REQUEST_METHOD'].upper() |
47 |
51 |
48 # content_length "may be empty or absent" |
52 # content_length "may be empty or absent" |