On Tue, 21 Apr 2009 14:54:03 -0400, [email protected] wrote:
Examples of both, client and server, were taken from
http://twistedmatrix.com/projects/core/documentation/examples/#auto2
Okay. That doesn't mean they'll work together. There are a lot of
examples on that page - though no HTTP server examples that I can see.
Now, what I've change on server side is instead of <A> to use <B>:
<A>:
factory = Factory()
factory.protocol = Echo
<B>:
from pyamf.remoting.gateway.twisted import TwistedGateway
from pyamf.remoting.gateway import expose_request
gateway = TwistedGateway({ "controller": FlexInterface() },
expose_request=False, authenticator=None)
root = resource.Resource()
root.putChild('', gateway)
The client side(echoclient_ssl.py) is working fine with <A>, but for <B>
always return 400.
Okay. <B> is still an HTTP server, so you still need an HTTP client.
Jean-Paul
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web