Path 1: 3 calls (1.0)

'/test' (1) '/other' (1) '/getsession' (1)

302 (3)

Response (3)

1def redirect(self, location: str, code: int = 302) -> BaseResponse:
2        """Create a redirect response object.
3
4        This is called by :func:`flask.redirect`, and can be called
5        directly as well.
6
7        :param location: The URL to redirect to.
8        :param code: The status code for the redirect.
9
10        .. versionadded:: 2.2
11            Moved from ``flask.redirect``, which calls this method.
12        """
13        return _wz_redirect(location, code=code, Response=self.response_class)