wsgi/handler.py
changeset 8309 48ef505aa9f9
parent 8272 18893bb969d2
child 8312 6c2119509fac
equal deleted inserted replaced
8308:805a257709f6 8309:48ef505aa9f9
   159         return WSGIResponse(200, req, result)
   159         return WSGIResponse(200, req, result)
   160 
   160 
   161 
   161 
   162     def __call__(self, environ, start_response):
   162     def __call__(self, environ, start_response):
   163         """WSGI protocol entry point"""
   163         """WSGI protocol entry point"""
   164         req = CubicWebWsgiRequest(environ, self.appli.vreg, self.base_url)
   164         req = CubicWebWsgiRequest(environ, self.appli.vreg)
   165         response = self._render(req)
   165         response = self._render(req)
   166         start_response(response.status, response.headers)
   166         start_response(response.status, response.headers)
   167         return response.body
   167         return response.body
   168 
   168 
   169     def redirect(self, req, location):
   169     def redirect(self, req, location):