xmlrpc, httplib and SSL
brian at sweetapp.com
Sat Mar 27 23:10:07 CET 2004
> - Connections are accepted over SSL
I don't know how much work it would take to make this happen.
> - Callbacks to verify incoming connections, certificates and
> credentials of the connections
> - Verification of HTTP authentication information
You don't need a callback to do this, just subclass
SimpleXMLRPCRequestHandler, override do_POST, and do authentication before
calling the base implementation.
> - Connections are kept open/keep-alive (HTTP/1.1)
This is a one line patch. Feel free to submit it.
> - Use of a bounded thread pool that handles the connections
This is too tied to your implementation requirements. If you want something
like this then you should add a PooledThreadingTCPServer class to
SocketServer.py and then trivially subclass that in SimpleXMLRPCServer.py
More information about the Python-list