The redirect_to_url() method is a convenience method, wrapping a call to cherrypy.HTTPRedirect() with the redirect URI.
redirect_to_url( *target , **kwargs )
|
target |
String |
Redirection target. |
|
kwargs |
Object |
[OPTIONAL] keyword-value pair dictionary representing the query string to include with redirection. |
Undefined
cherrypy.HTTPRedirect(self.make_url( *target , **kwargs ))
self.redirect_to_url('/api/search/jobs', job_id=1234)