redirect

redirect(self, location, code=302, Response=None)

domain: server

language: python

class Task class

Description

Using Werkzeug redirect Object to redirect a Client to the target location.

Example

task.redirect('/login.html')

See also

serve_page