diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-07-18 22:26:14 -0700 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-07-18 22:26:14 -0700 |
commit | 5d6f855387e61ae21371734fdd7a48bca301fe64 (patch) | |
tree | c9af147d8dd9c07c3ca6014db0b5036c5fbf14d7 /libmproxy/proxy.py | |
parent | b0849387b74c9e289bd2ed4f0dc6bd1b7829c10f (diff) | |
parent | 25b063119045084bd3fd10a2382b4bc2f67ff2bf (diff) | |
download | mitmproxy-5d6f855387e61ae21371734fdd7a48bca301fe64.tar.gz mitmproxy-5d6f855387e61ae21371734fdd7a48bca301fe64.tar.bz2 mitmproxy-5d6f855387e61ae21371734fdd7a48bca301fe64.zip |
Merge pull request #9 from alts/toggle_encodings
Toggle encodings
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r-- | libmproxy/proxy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index a7cc31e8..4ff96c4f 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -290,6 +290,8 @@ class Response(controller.Msg): self.timestamp = timestamp or utils.timestamp() controller.Msg.__init__(self) self.replay = False + self.last_encoding = None + self.should_autodecode = True def _refresh_cookie(self, c, delta): """ |