Exemple #1
0
Fichier : ma.py Projet : muQB/libMA
 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)
Exemple #2
0
 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
Exemple #3
0
 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
Exemple #4
0
 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)