equal
deleted
inserted
replaced
59 |
59 |
60 |
60 |
61 |
61 |
62 class CubicWebRequestBase(DBAPIRequest): |
62 class CubicWebRequestBase(DBAPIRequest): |
63 """abstract HTTP request, should be extended according to the HTTP backend""" |
63 """abstract HTTP request, should be extended according to the HTTP backend""" |
|
64 json_request = False # to be set to True by json controllers |
64 |
65 |
65 def __init__(self, vreg, https, form=None): |
66 def __init__(self, vreg, https, form=None): |
66 super(CubicWebRequestBase, self).__init__(vreg) |
67 super(CubicWebRequestBase, self).__init__(vreg) |
67 self.message = None |
68 self.message = None |
68 self.authmode = vreg.config['auth-mode'] |
69 self.authmode = vreg.config['auth-mode'] |