> Actually, redirect takes a URL, so you can pass the args to the URL
> function:
>
> redirect(URL('other_controller', 'other_function', args=request.args,
> vars=request.vars))

I didn't know that

> I'm not sure I would recommend the redirect method, though -- it generates a
> new request, so introduces an unnecessary delay. It also returns a 303 HTTP
> status code by default (though you can change that to 200 via a second
> argument to redirect).

I also didn't want to use that solution, because I'm trying to have
clean urls. With that solution I get the function name in the url :/

Reply via email to