aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
authorStephen Altamirano <stephen@evilrobotstuff.com>2011-07-18 21:52:40 -0700
committerStephen Altamirano <stephen@evilrobotstuff.com>2011-07-18 21:52:40 -0700
commit1c5434d72c978df511d32ea10e547dd358511b33 (patch)
treece4ebaadbd08063ac3dd17cbdf71160322ab373d /libmproxy/proxy.py
parentecd46459886da3a851a6e0c4ef11ab5939673a40 (diff)
downloadmitmproxy-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.py2
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):
"""