[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive

Mark Harrison report at bugs.python.org
Tue Jul 22 00:28:56 CEST 2008

Mark Harrison <marhar at users.sourceforge.net> added the comment:

There's a one-line change necessary in BaseHTTPServer.py.
s/socketserver/SocketServer/ on this line:

+        socketserver.StreamRequestHandler.__init__(self, request,
client_address, parent)

+        SocketServer.StreamRequestHandler.__init__(self, request,
client_address, parent)

Other than that it seems to work well.  The client side xmlrpc
code even does the right thing with an apache-based server.

I copied just the patched files to a standalone directory and
it works for Python 2.4 as well, if sys.path picks up that
directory first.

nosy: +marhar

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list