

def change_content_type(self, new_ctype, guess=False):
    '\n        Copies object to itself, but applies a new content-type. The guess\n        feature requires the container to be CDN-enabled. If not then the\n        content-type must be supplied. If using guess with a CDN-enabled\n        container, new_ctype can be set to None.\n        Failure during the put will result in a swift exception.\n        '
    self.container.change_object_content_type(self, new_ctype=new_ctype, guess=guess)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py StorageObject.change_content_type/original