def redirect(self, url):
        """
        Force client to send a GET request to ``url``.

        This may be used to hand the control over to another handler, for example
         after log in you may send the client to a home page handler:

        .. code-block:: python

            # snippet from users/handlers.py:

            class AccountsRegisterHandler(AiryHandler):

                # ...

                def post(self):
                    form = RegistrationForm(self.get_flat_arguments())
                    if form.is_valid():
                        user = form.save(self)
                        # send the client to the homepage handler:
                        self.redirect("/")


        """
        return self.execute(url % 'airy.ui.redirect("%s");')
dataset/ETHPy150Open letolab/airy/airy/core/web.py/UIProxy.redirect/swapped operands of `%`