diff options
author | Guido van Rossum <guido@python.org> | 2007-08-22 23:45:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-22 23:45:42 (GMT) |
commit | cfe02a498b107a6436003e2bf7a48aefe4e3d59f (patch) | |
tree | eac6d7f4402753f357921978ef2b2d3aed82c3a0 /Lib/xmlrpclib.py | |
parent | 2523621693102663ff449237ef07810d9e6fa919 (diff) | |
download | cpython-cfe02a498b107a6436003e2bf7a48aefe4e3d59f.zip cpython-cfe02a498b107a6436003e2bf7a48aefe4e3d59f.tar.gz cpython-cfe02a498b107a6436003e2bf7a48aefe4e3d59f.tar.bz2 |
Fixes by John Reese and Jacques Frechet that make test_xmlrpc pass.
(Note that test_xmlrpc isn't touched by the fixes!) There were two
separate issues; (a) BaseHTTPServer was using a TextIOWrapper which
was swallowing some of the POST body; (b) the getheaders() API was
changed but (due to integration of 2.6 code) the code wasn't modified.
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r-- | Lib/xmlrpclib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 2da17c4..abd1a07 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -1118,7 +1118,7 @@ class Transport: raise ProtocolError( host + handler, resp.status, resp.reason, - resp.getheaders() + dict(resp.getheaders()) ) self.verbose = verbose |