New submission from Wayne Huang <waynehuang.pub...@gmail.com>: I met a bug of CGIXMLRPCRequestHandler in Python3.0. Because of the bug, I couldn't use RPC in Apache CGI.
The version of my Python 3.0 is "Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) [MSC v.1500 32 bit (Intel)] win32". The code of my client is follow. s = xmlrpc.client.ServerProxy('http://localhost/cgi-bin/rpc.py') print(s.system.listMethods()) The code of my server in Apache's cgi-bin is follow #!C:/Python30/python.exe from xmlrpc.server import * handler=CGIXMLRPCRequestHandler() handler.register_introspection_functions() handler.handle_request() When I run the client code,some error of parser raise. I found it is the matter of 'Content-Length' in the HTTP Response of CGIXMLRPCRequestHandler,it is a wrong number. ---------- components: Library (Lib) messages: 80440 nosy: WayneHuang severity: normal status: open title: Bug of CGIXMLRPCRequestHandler type: performance versions: Python 3.0 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5040> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com