[New-bugs-announce] [issue5040] Bug of CGIXMLRPCRequestHandler

Wayne Huang report at bugs.python.org
Sat Jan 24 11:19:54 CET 2009

New submission from Wayne Huang <WayneHuang.public at 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')

The code of my server in Apache's cgi-bin is follow


from xmlrpc.server import *


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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list