From 8cc0469ee72592d079750a9d5427853d95a7dbfe Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 2 Aug 2011 20:34:01 +1200 Subject: Tweak encoding behaviour - Don't fail to identity encoding when an unknown encoding is specified. - Don't constrain encodings. I want to try to modify traffic as little as possible by default. - When decoding, delete content-encoding header rather than set it to "identity" - Refuse to decode/encode when there is an existing but unknown content-encoding header. --- libmproxy/flow.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'libmproxy/flow.py') diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 090c539a..57bcc878 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -588,8 +588,6 @@ class FlowMaster(controller.Master): f.request.anticache() if self.anticomp: f.request.anticomp() - else: - f.request.constrain_encoding() if self.server_playback: pb = self.do_server_playback(f) -- cgit v1.2.3