Issue 14584: Add gzip support to xmlrpc.server (original) (raw)

Issue14584

Created on 2012-04-14 20:48 by rhettinger, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg158282 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2012-04-14 20:48
The xmlrpclib client already supports gzipped data and say so in the HTTP header: "Accept-Encoding: gzip". Our XMLRPC Server ignores this header and always sends uncompressed data.
msg160758 - (view) Author: Ross Lagerwall (rosslagerwall) (Python committer) Date: 2012-05-15 20:06
The server encodes the response if the length of the response exceeds self.encode_threshold, 1400 (presumably there's no point in compression if the data fits in the MTU anyway).
History
Date User Action Args
2022-04-11 14:57:29 admin set github: 58789
2012-05-16 20:11:20 rosslagerwall set status: open -> closedresolution: not a bug
2012-05-15 20:06:18 rosslagerwall set nosy: + rosslagerwallmessages: +
2012-04-21 01:07:17 eric.araujo set nosy: + eric.araujostage: needs patchcomponents: + Library (Lib)title: Add gzip support the XMLRPC Server -> Add gzip support to xmlrpc.server
2012-04-14 20:48:16 rhettinger create