web/request.py
changeset 8889 be91151107f6
parent 8752 e19f4bba89cd
parent 8869 a46197b1696f
child 8941 7b26fe71404f
equal deleted inserted replaced
8888:738f97bc3e19 8889:be91151107f6
    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()