[Pygoogle-discuss] Accessing raw response string from API?
Brought to you by:
bluecoat93
|
From: Sam P. <spe...@we...> - 2004-07-21 19:54:28
|
Am I missing something, or does PyGoogle not expose the <SOAP-ENV> XML
string it gets back from the server? AFAICT the string is retrieved in
SOAPProxy.__call
r = self.transport.call(self.proxy, m, sa, encoding = self.encoding,
http_proxy = self.http_proxy,
config = self.config)
and consumed in SOAPpy/Parser._parseSOAP, never to be seen again.
I could expose it by creating a module-level global variable (yuk!) but
it sure would be nice to just get the XML string without having to
maintain my own version of SOAPProxy and possibly other modules. So--am
I wrong about the string not being exposed? If not, is there a better
way to expose it than a module-level variable given the current code
base?
Thanks,
Sam
|