This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author WayneHuang
Recipients WayneHuang
Date 2009-01-24.10:19:49
SpamBayes Score 0.012887322
Marked as misclassified No
Message-id <1232792394.35.0.81811153867.issue5040@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-01-24 10:19:54WayneHuangsetrecipients: + WayneHuang
2009-01-24 10:19:54WayneHuangsetmessageid: <1232792394.35.0.81811153867.issue5040@psf.upfronthosting.co.za>
2009-01-24 10:19:52WayneHuanglinkissue5040 messages
2009-01-24 10:19:50WayneHuangcreate