public function redirect($url, $view = false)
    {
        if ($view === false && !preg_match('#^https?\://#i', $url)) {
            $_url = (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] === 'off' ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'];
            $start = substr($url, 0, 1);

            if (!empty($start)) {
                if ($start === '?') {
                    $_url .= str_replace('?' . $_SERVER['QUERY_STRING'], '', $_SERVER['REQUEST_URI']);
                } elseif ($start !== '/') {
                    $_url .= '/';
                }
            }
            $_url .= $url;
        } else {
            $_url = $url;
        }

        $this->last_selector = null;

        if ($view !== false) {
            return $this->reset_response()->cmd(8, array(
                $_url,
                $view
            ));
        } else {
            return $this->cmd(8, array(
                $_url,
                false
            ));
        }
    }