bugzilla: stop XMLRPC requests from requesting gzipped responses
Python 2.7 introduced support for gzip encoding in xmlrpclib.Transport.
We do our own handling of responses, and don't currently support gzip encoding.
So to run successfully under Python 2.7 with a web server configured
to gzip encode, stop XMLRPC requests from announcing gzip encoding support.
--- a/hgext/bugzilla.py Tue Feb 28 23:47:46 2012 +0200
+++ b/hgext/bugzilla.py Wed Feb 29 17:43:03 2012 +0000
@@ -497,6 +497,7 @@
def request(self, host, handler, request_body, verbose=0):
self.verbose = verbose
+ self.accept_gzip_encoding = False
# issue XML-RPC request
h = self.make_connection(host)