(self, path_info, query_args=None, domain_part=None)
return str(
            "%s://%s/%s%s"
            % (
                self.url_scheme or "http",
                self.get_host(domain_part),
                posixpath.join(
                    self.script_name[:-1].lstrip("/"), path_info.lstrip("/")
                ),
                suffix,
            )
        )
Creates a redirect URL.

        :internal:
Creates a redirect URL.
Creates a redirect URL .
def make_redirect_url(self, path_info, query_args=None, domain_part=None):
        """Creates a redirect URL.

        :internal:
        """
        suffix = ""
        if query_args:
            suffix = "?" + self.encode_query_args(query_args)
        return str(
            "%s://%s/%s%s"
            % (
                self.url_scheme or "http",
                self.get_host(domain_part),
                posixpath.join(
                    self.script_name[:-1].lstrip("/"), path_info.lstrip("/")
                ),
                suffix,
            )
        )
def make_redirect_url ( self , path_info , query_args = None , domain_part = None ) : suffix = "" if query_args : suffix = "?" + self . encode_query_args ( query_args ) return str ( "%s://%s/%s%s" % ( self . url_scheme or "http" , self . get_host ( domain_part ) , posixpath . join ( self . script_name [ : - 1 ] . lstrip ( "/" ) , path_info . lstrip ( "/" ) ) , suffix , ) )