Hi, I propose to change the authentication mechanism used in XML-RPC protocols. Currently, it requires to call "login" function to retreive a user id and a sesssion and pass this parameters at each function call. My suggestion is to use the standard authentication of HTTP (first the Basic) so the username and password will be passed in the header (like for WebDAV).
So the example in http://code.google.com/p/tryton/wiki/RemoteCalls will become: s = xmlrpclib.ServerProxy ('http://user:passw...@localhost:8069/try') -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpDS9bXI7YcF.pgp
Description: PGP signature
