wsgi/handler.py
changeset 9030 c1d5e8ca15ea
parent 8695 358d8bed9626
child 9031 6ff29f2879da
equal deleted inserted replaced
9029:5941cde49878 9030:c1d5e8ca15ea
   101     XXX: missing looping tasks and proper repository shutdown when
   101     XXX: missing looping tasks and proper repository shutdown when
   102     the application is stopped.
   102     the application is stopped.
   103     NOTE: no pyro
   103     NOTE: no pyro
   104     """
   104     """
   105 
   105 
   106     def __init__(self, config, vreg=None):
   106     def __init__(self, config):
   107         self.appli = CubicWebPublisher(config, vreg=vreg)
   107         self.appli = CubicWebPublisher(config)
   108         self.config = config
   108         self.config = config
   109         self.base_url = self.config['base-url']
   109         self.base_url = self.config['base-url']
   110         self.https_url = self.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