equal
deleted
inserted
replaced
116 if self.base_url is None: |
116 if self.base_url is None: |
117 self.base_url = self.config._base_url = req.base_url() |
117 self.base_url = self.config._base_url = req.base_url() |
118 try: |
118 try: |
119 path = req.path |
119 path = req.path |
120 result = self.appli.handle_request(req, path) |
120 result = self.appli.handle_request(req, path) |
121 except DirectResponse, ex: |
121 except DirectResponse as ex: |
122 return ex.response |
122 return ex.response |
123 return WSGIResponse(req.status_out, req, result) |
123 return WSGIResponse(req.status_out, req, result) |
124 |
124 |
125 |
125 |
126 def __call__(self, environ, start_response): |
126 def __call__(self, environ, start_response): |