def delete_metadata(self, container, prefix=None):
        """
        Removes all of the container's metadata.

        By default, all metadata beginning with the standard container metadata
        prefix ('X-Container-Meta-') is removed. If you wish to remove all
        metadata beginning with a different prefix, you must specify that
        prefix.
        """
        # Add the metadata prefix, if needed.
        if prefix is None:
            prefix = CONTAINER_META_PREFIX
        new_meta = {}
        curr_meta = self.get_metadata(container, prefix=prefix)
        for ckey in curr_meta:
            new_meta[ckey] = ""
        uri = "/%s" % utils.get_name(container)
        resp, resp_body = self.api.method_post(uri, headers=new_meta)
        return 200 <= resp.status_code <= 299
def delete_metadata ( self , container , prefix = None ) : if prefix is None : prefix = CONTAINER_META_PREFIX new_meta = { } curr_meta = self . get_metadata ( container , prefix = prefix ) for ckey in curr_meta : new_meta [ ckey ] = "" uri = "/%s" % utils . get_name ( container ) resp , resp_body = self . api . method_post ( uri , headers = new_meta ) return 200 <= resp . status_code <= 299
Removes all of the container's metadata.

        By default, all metadata beginning with the standard container metadata
        prefix ('X-Container-Meta-') is removed. If you wish to remove all
        metadata beginning with a different prefix, you must specify that
        prefix.