[Twisted-web] reactor.listenSSL() question

Jean-Paul Calderone exarkun at divmod.com
Tue Apr 21 14:58:18 EDT 2009

On Tue, 21 Apr 2009 14:54:03 -0400, vitaly at synapticvision.com wrote:
>Examples of both, client and server, were taken from 

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>:
>factory = Factory()
>factory.protocol = Echo
>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.


More information about the Twisted-web mailing list