(self, *args: Any, **kwargs: Any)
| 2693 | self._permanent = permanent |
| 2694 | |
| 2695 | def get(self, *args: Any, **kwargs: Any) -> None: |
| 2696 | to_url = self._url.format(*args, **kwargs) |
| 2697 | if self.request.query_arguments: |
| 2698 | # TODO: figure out typing for the next line. |
| 2699 | to_url = httputil.url_concat( |
| 2700 | to_url, |
| 2701 | list(httputil.qs_to_qsl(self.request.query_arguments)), # type: ignore |
| 2702 | ) |
| 2703 | self.redirect(to_url, permanent=self._permanent) |
| 2704 | |
| 2705 | |
| 2706 | class StaticFileHandler(RequestHandler): |
no test coverage detected