Beispiel #1
0
Datei: ma.py Projekt: 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)
Beispiel #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
Beispiel #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
Beispiel #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)