def __str__(self):
        if self.type == CacheData.HTTP_HEADER:
            if self.headers.has_key('content-type'):
                return "HTTP Header %s" % self.headers['content-type']
            else:
                return "HTTP Header"
        else:
            return "Data"
Display the type of cacheData
dataset/ETHPy150Open JRBANCEL/Chromagnon/chromagnon/cacheData.py/CacheData.__str__