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 vstinner
Recipients lids, vstinner
Date 2010-03-26.11:31:37
SpamBayes Score 6.0857954e-05
Marked as misclassified No
Message-id <1269603099.4.0.935729990487.issue8194@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2.6/3.1, xmlrpclib.Transport.parse_response() accepts a file like object. But Python 2.7/3.2 requires a HTTPResponse object because parse_response() calls response.getheader() method.

The patch moves the call to .getheader() in single_request() to accept a file-like object in parse_response(). But I don't understand why the gzip support is implemented in xmlrpclib instead of httplib.

The problem is related to M2Crypto which pass a BIO object (file-like object, without .getresponse() method).
History
Date User Action Args
2010-03-26 11:31:39vstinnersetrecipients: + vstinner, lids
2010-03-26 11:31:39vstinnersetmessageid: <1269603099.4.0.935729990487.issue8194@psf.upfronthosting.co.za>
2010-03-26 11:31:37vstinnerlinkissue8194 messages
2010-03-26 11:31:37vstinnercreate