28 Jun
2001
28 Jun
'01
4:48 p.m.
Where should I put this code? Do I need to make any more alterations (other than subclassing 'transport' as opposed to 'xmlrpclib.transport')?
Nope. ZSyncer, uses a script based on Amos's original code very successfully btw. I use it a great deal. If you look at that python it might help basically just put xmlrpclibBasicAuth.py (from ZSyncer) in Zope/bin/lib. And instead of calling xmlrpclib, call xmlrpclibBasicAuth: from xmlrpclibBasicAuth import Server s = Server('http://foo.bar.com', 'user', pwd') s.hello() Cheers. -- Andy McKay.