def process(self): data = json.dumps(self.token.response) if self.token.request.method == "GET": if data != 'null': L.info("CacheSetter: storing in %s <== %s" % (self.token.cache_key, snip(str(data)))) store_in_cache(self.token.cache_key, data)
def process(self): data = json.dumps(self.token.response) if data != 'null': L.info("CacheSetter: storing in %s <== %s" % (self.token.cache_key, snip(str(data)))) store_in_cache( self.token.cache_key.encode('utf8').encode('hex'), data.encode('utf8').encode('hex'))
def process(self): data = json.dumps(self.token.response) if self.token.request.method == "GET": if data != 'null': L.info("CacheSetter: storing in %s <== %s" % (self.token.cache_key,snip(str(data)))) store_in_cache(self.token.cache_key,data)
def process(self): data = json.dumps(self.token.response) if data != 'null': L.info("CacheSetter: storing in %s <== %s" % (self.token.cache_key,snip(str(data)))) store_in_cache(self.token.cache_key.encode('utf8').encode('hex'),data.encode('utf8').encode('hex'))