# HG changeset patch # User Jim Hague # Date 1330537383 0 # Node ID b468cea3f29d3219b6d1f4b4a13e4c18debd1c17 # Parent 7c75924a69266d58fcbe8a912c877daa440f7dc2 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. diff -r 7c75924a6926 -r b468cea3f29d hgext/bugzilla.py --- 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)