[Twisted-Python] apache authentication

Hi
I'm using apache as proxy to a xmlrpc server. How do I set the client xmlrpc to connect to apache using ssl, username and password?
A prototype of my idea:
from twisted.web.xmlrpc import Proxy from twisted.internet import reactor
proxy = Proxy('https://localhost/RPC2') """ apache should redirect to 192.168.2.22:7080... how do I send username and password? """"
proxy.callRemote('status_mds').addCallbacks(self.buildMDSObject, self.printError) ........
Thanks Gustavo

On Fri, 2005-02-11 at 16:56 -0200, Gustavo Rahal wrote:
I'm using apache as proxy to a xmlrpc server. How do I set the client xmlrpc to connect to apache using ssl, username and password?
1. Web questions should go to twisted-web mailing list.
proxy = Proxy('https://localhost/RPC2') """ apache should redirect to 192.168.2.22:7080... how do I send username and password? """"
2. That is not currently supported, see http://twistedmatrix.com/bugs/issue885 (you could implement this yourself, if that issue is done xmlrpc.Proxy will have far less code.)
participants (2)
-
Gustavo Rahal
-
Itamar Shtull-Trauring