equal
deleted
inserted
replaced
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): |