(self, url)
| 315 | |
| 316 | # Redirect to an url |
| 317 | def actionRedirect(self, url): |
| 318 | self.start_response('301 Redirect', [('Location', str(url))]) |
| 319 | yield b"Location changed: " + url.encode("utf8") |
| 320 | |
| 321 | def actionIndex(self): |
| 322 | return self.actionRedirect("/" + config.homepage) |
no outgoing calls
no test coverage detected