Message101747
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). |
|
Date |
User |
Action |
Args |
2010-03-26 11:31:39 | vstinner | set | recipients:
+ vstinner, lids |
2010-03-26 11:31:39 | vstinner | set | messageid: <1269603099.4.0.935729990487.issue8194@psf.upfronthosting.co.za> |
2010-03-26 11:31:37 | vstinner | link | issue8194 messages |
2010-03-26 11:31:37 | vstinner | create | |
|