cubicweb/wsgi/handler.py
changeset 11725 904ee9cd0cf9
parent 11057 0b59724cb3f2
child 11767 432f87a63057
equal deleted inserted replaced
11724:0fe3cf5c06b3 11725:904ee9cd0cf9
   106 
   106 
   107     def _render(self, req):
   107     def _render(self, req):
   108         """this function performs the actual rendering
   108         """this function performs the actual rendering
   109         """
   109         """
   110         try:
   110         try:
   111             path = req.path
   111             result = self.appli.handle_request(req)
   112             result = self.appli.handle_request(req, path)
       
   113         except DirectResponse as ex:
   112         except DirectResponse as ex:
   114             return ex.response
   113             return ex.response
   115         return WSGIResponse(req.status_out, req, result)
   114         return WSGIResponse(req.status_out, req, result)
   116 
   115 
   117 
   116