equal
deleted
inserted
replaced
99 self.https = https |
99 self.https = https |
100 #: User interface property (vary with https) (see :ref:`uiprops`) |
100 #: User interface property (vary with https) (see :ref:`uiprops`) |
101 self.uiprops = None |
101 self.uiprops = None |
102 #: url for serving datadir (vary with https) (see :ref:`resources`) |
102 #: url for serving datadir (vary with https) (see :ref:`resources`) |
103 self.datadir_url = None |
103 self.datadir_url = None |
104 if https: |
104 if https and vreg.config.https_uiprops is not None: |
105 self.uiprops = vreg.config.https_uiprops |
105 self.uiprops = vreg.config.https_uiprops |
|
106 else: |
|
107 self.uiprops = vreg.config.uiprops |
|
108 if https and vreg.config.https_datadir_url is not None: |
106 self.datadir_url = vreg.config.https_datadir_url |
109 self.datadir_url = vreg.config.https_datadir_url |
107 else: |
110 else: |
108 self.uiprops = vreg.config.uiprops |
|
109 self.datadir_url = vreg.config.datadir_url |
111 self.datadir_url = vreg.config.datadir_url |
110 #: raw html headers that can be added from any view |
112 #: raw html headers that can be added from any view |
111 self.html_headers = HTMLHead(self) |
113 self.html_headers = HTMLHead(self) |
112 #: received headers |
114 #: received headers |
113 self._headers_in = Headers() |
115 self._headers_in = Headers() |