[Zope-Moz] RE: another xml rpc problem

Amos Latteier Amos@digicool.com
Thu, 20 Apr 2000 13:28:33 -0400


> I am trying to setup zope as a xmlrpc server and use python 
> to connect to 
> the server and make the changes.  I follow the exmaple on the 
> xml.com by 
> Amos.  There is one line in BasicAuthTransport doesn't work for me:
>    h.putheader("AUTHORIZATION", "Basic %s" % string.replace(
>             encodestring("%s:%s" % (self.username, self.password))
>             , "\012", "")
> the python compiler will not recogernize the encodestring call.  Does 
> anybody have an idea of what is wrong here?

'encodestring' must be a function or method defined in or imported into
in the file that you clipped this fragment from.

-Amos

--
Amos Latteier         mailto:amos@digicool.com
Digital Creations     http://www.digicool.com