    # File lib/merb-core/controller/mixins/controller.rb, line 143
        def redirect(url, opts = {})
          default_redirect_options = { :message => nil, :permanent => false }
          opts = default_redirect_options.merge(opts)

          url = handle_redirect_messages(url,opts)

          _status   = opts[:status] if opts[:status]
          _status ||= opts[:permanent] ? 301 : 302
          self.status = _status

          Merb.logger.info("Redirecting to: #{url} (#{self.status})")
          headers['Location'] = url
          "<html><body>You are being <a href=\"#{url}\">redirected</a>.</body></html>"
        end