diff options
author | Stephen Altamirano <stephen@evilrobotstuff.com> | 2011-07-18 21:52:40 -0700 |
---|---|---|
committer | Stephen Altamirano <stephen@evilrobotstuff.com> | 2011-07-18 21:52:40 -0700 |
commit | 1c5434d72c978df511d32ea10e547dd358511b33 (patch) | |
tree | ce4ebaadbd08063ac3dd17cbdf71160322ab373d /libmproxy/proxy.py | |
parent | ecd46459886da3a851a6e0c4ef11ab5939673a40 (diff) | |
download | mitmproxy-1c5434d72c978df511d32ea10e547dd358511b33.tar.gz mitmproxy-1c5434d72c978df511d32ea10e547dd358511b33.tar.bz2 mitmproxy-1c5434d72c978df511d32ea10e547dd358511b33.zip |
Adds ability to toggle between encodings in the response view
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): """ |