def mime(self):
        '''
        Retrieves mime metadata if available
        :return:
        '''
        return self.metadata['ContentType'] if 'ContentType' in self.metadata else BaseEngine.get_mimetype(self.buffer)