xmlrpclib.Server - how to disconnect

Kent Johnson kent37 at tds.net
Fri Apr 22 17:23:32 EDT 2005


codecraig wrote:
> Hi,
>    If I create a connection to a and XML-RPC server, how can the client
> disconnect from the server?
> 
> CLIENT:
> url = "http://1.1.1.1:1234"
> server = xmlrpclib.Server(url)
> 
> server.doSomething()
> 
> now how do i disconnect my client from the server?

Are you sure this is a problem? xmlrpc uses HTTP/1.0 to connect. Looking at the code it seems to 
close the connection after each request.

Kent



More information about the Python-list mailing list