<:redirect url:>} <:redirect path [queryargs] [noescape]:>
If called with the named argument url, the argument should contain an absolute URL. Example:
<:redirect url="http://www.starmedia.com/":>
Alternately, you may call this tag with arguments
similar to those for
<:url:> (see section 5.1, page
The noescape argument, if present, tells SkunkWeb not to escape URL-unsafe characters in the path argument, such as spaces or extended characters. By default, SkunkWeb will escape all non-safe characters except for the / character, which it leaves intact. It will escape the : character in your path argument, however.
Please note that either url or path must be passed by name, like url=foo or path=foo.
The equivalent Python component code is:
import templating.UrlBuilder templating.UrlBuilder.redirect(path, url, queryargs, noescape)