def get_content_maintype(self):
        ctype = self.get_content_type()
        return ctype.split('/')[0]
Deletes an existing extra spec
dataset/ETHPy150Open babble/babble/include/jython/Lib/email/message.py/Message.get_content_maintype--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/flavorextraspecs.py/FlavorExtraSpecsController.delete