(self, *args: Any, **kwargs: Any)
| 2509 | self._permanent = permanent |
| 2510 | |
| 2511 | def get(self, *args: Any, **kwargs: Any) -> None: |
| 2512 | to_url = self._url.format(*args, **kwargs) |
| 2513 | if self.request.query_arguments: |
| 2514 | # TODO: figure out typing for the next line. |
| 2515 | to_url = httputil.url_concat( |
| 2516 | to_url, |
| 2517 | list(httputil.qs_to_qsl(self.request.query_arguments)), # type: ignore |
| 2518 | ) |
| 2519 | self.redirect(to_url, permanent=self._permanent) |
| 2520 | |
| 2521 | |
| 2522 | class StaticFileHandler(RequestHandler): |
no test coverage detected