wsgi/handler.py
changeset 8593 41259e1f9d48
parent 8396 8d58fcf68539
child 8695 358d8bed9626
equal deleted inserted replaced
8592:df16bd045cae 8593:41259e1f9d48
   104     """
   104     """
   105 
   105 
   106     def __init__(self, config, vreg=None):
   106     def __init__(self, config, vreg=None):
   107         self.appli = CubicWebPublisher(config, vreg=vreg)
   107         self.appli = CubicWebPublisher(config, vreg=vreg)
   108         self.config = config
   108         self.config = config
   109         self.base_url = config['base-url']
   109         self.base_url = self.config['base-url']
   110         self.https_url = config['https-url']
   110         self.https_url = self.config['https-url']
   111         self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter')
   111         self.url_rewriter = self.appli.vreg['components'].select_or_none('urlrewriter')
   112 
   112 
   113     def _render(self, req):
   113     def _render(self, req):
   114         """this function performs the actual rendering
   114         """this function performs the actual rendering
   115         """
   115         """