cookie_for_new_state(state)

        if self.settings.install_page_rendering_enabled:
            html = self.build_install_page_html(url, request)
            return BoltResponse(
                status=200,
                body=html,
                headers=self.append_set_cookie_headers(
                    {&#34;Content-Type&#34;: &#34;text/html; charset=utf-8&#34;},
                    set_cookie_value,
                ),
            )
        else:
            return BoltResponse(
                stat