def validate(self):
        res = super(GBPResource, self).validate()
        if res:
            return res
        return self.validate_properties(self.properties)
Separates out the encoding from the content_type and returns both in a tuple (content_type, encoding)
dataset/ETHPy150Open openstack/group-based-policy-automation/gbpautomation/heat/engine/resources/gbpresource.py/GBPResource.validate--crossover with--dataset/ETHPy150Open timothycrosley/hug/hug/input_format.py/separate_encoding