(self)
| 56 | |
| 57 | class RedirectHandler(RequestHandler): |
| 58 | def prepare(self): |
| 59 | self.write("redirects can have bodies too") |
| 60 | self.redirect( |
| 61 | self.get_argument("url"), status=int(self.get_argument("status", "302")) |
| 62 | ) |
| 63 | |
| 64 | |
| 65 | class RedirectWithoutLocationHandler(RequestHandler): |
nothing calls this directly
no test coverage detected