@assure_container
    def change_object_content_type(self, container, obj, new_ctype,
            guess=False):
        cname = utils.get_name(container)
        oname = utils.get_name(obj)
        if guess and container.cdn_enabled:
            # Test against the CDN url to guess the content-type.
            obj_url = "%s/%s" % (container.cdn_uri, oname)
            new_ctype = mimetypes.guess_type(obj_url)[0]
        return self.copy_object(container, obj, container,
                content_type=new_ctype)
Read the byte order mark in the text, if present, and
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/ContainerManager.change_object_content_type--crossover with--dataset/ETHPy150Open lorien/grab/grab/document.py/read_bom