Karrigell/Redirect to a URL

To perform an HTTP redirection to a URL, use the built-in exception HTTP_REDIRECTION :

def index():
    raise HTTP_REDIRECTION(other_url)