def set_web_index_page(self, container, page):
        """
        Sets the header indicating the index page in a container
        when creating a static website.

        Note: the container must be CDN-enabled for this to have
        any effect.
        """
        headers = {"X-Container-Meta-Web-Index": "%s" % page}
        self.api.cdn_request("/%s" % utils.get_name(container), method="POST",
                headers=headers)
def set_web_index_page ( self , container , page ) : headers = { "X-Container-Meta-Web-Index" : "%s" % page } self . api . cdn_request ( "/%s" % utils . get_name ( container ) , method = "POST" , headers = headers )
Sets the header indicating the index page in a container
        when creating a static website.

        Note: the container must be CDN-enabled for this to have
        any effect.