[BangPypers] XML RPC Problem....
uzmanajmal at gmail.com
Thu Sep 11 09:08:37 CEST 2008
I am trying to call a function named system.auth at the server side running
at localhost:8080 but at the same time i want to set the http header. I
found that header can be set by
"Basic %s"%encodestring("%s:%s" % (ustring,text_ucert)))
#ustring: just a random string
#text_ucert: a file containing the X509 certificate of client
And i also fount that a typical system.auth call will look like:
POST /xmlrpc/clarens_server.py HTTP/1.0
User-Agent: xmlrpclib.py/0.9.9 (by www.pythonware.com)
AUTHORIZATION: Basic MkhVTm9VazYxbXArVEZLS0dCY2tIRlA3bjVzPQo6RnJvbSBi
Problem is that i don't know how do i generate above xml system.auth call.
Can anyone please tell me how do call a function, setting the header of the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the BangPypers