equal
deleted
inserted
replaced
94 :form: Forms value |
94 :form: Forms value |
95 """ |
95 """ |
96 super(CubicWebRequestBase, self).__init__(vreg) |
96 super(CubicWebRequestBase, self).__init__(vreg) |
97 #: (Boolean) Is this an https request. |
97 #: (Boolean) Is this an https request. |
98 self.https = https |
98 self.https = https |
99 #: User interface property (vary with https) (see uiprops_) |
99 #: User interface property (vary with https) (see :ref:`uiprops`) |
100 self.uiprops = None |
100 self.uiprops = None |
101 #: url for serving datadir (vary with https) (see resources_) |
101 #: url for serving datadir (vary with https) (see :ref:`resources`) |
102 self.datadir_url = None |
102 self.datadir_url = None |
103 if https: |
103 if https: |
104 self.uiprops = vreg.config.https_uiprops |
104 self.uiprops = vreg.config.https_uiprops |
105 self.datadir_url = vreg.config.https_datadir_url |
105 self.datadir_url = vreg.config.https_datadir_url |
106 else: |
106 else: |
169 |
169 |
170 @property |
170 @property |
171 def authmode(self): |
171 def authmode(self): |
172 """Authentification mode of the instance |
172 """Authentification mode of the instance |
173 |
173 |
174 (see `Configuring the Web server`_)""" |
174 (see :ref:`WebServerConfig`)""" |
175 return self.vreg.config['auth-mode'] |
175 return self.vreg.config['auth-mode'] |
176 |
176 |
177 # Various variable generator. |
177 # Various variable generator. |
178 |
178 |
179 @property |
179 @property |