def cat(self, resource, params={}, **kwargs): kwargs.update(params) params = _cryptParams(kwargs) response = self.session.post(self.abs_path(resource), params, params={"cyt": 1}) return crypt.decode(response.content)
def cat(self, resource, params={}, **kwargs): kwargs.update(params) params = _cryptParams(kwargs) response = self.session.post(self.abs_path(resource), params, params={"cyt": 1}) data = crypt.decode(response.content) data = re.sub("&(?!amp;)", "&", data) return data