diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-25 21:23:44 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-25 21:23:44 +1300 |
commit | 6921b9ff2a3f1f9592704e4b85c4400cad243538 (patch) | |
tree | a1971438909ee0132c97385da63ecf9acec5d081 /libmproxy/dump.py | |
parent | 8cade9fbbf15480fd5b9f7410d65c928dd26f652 (diff) | |
download | mitmproxy-6921b9ff2a3f1f9592704e4b85c4400cad243538.tar.gz mitmproxy-6921b9ff2a3f1f9592704e4b85c4400cad243538.tar.bz2 mitmproxy-6921b9ff2a3f1f9592704e4b85c4400cad243538.zip |
Add an indicator that sticky cookies have been applied in mitmdump.
Diffstat (limited to 'libmproxy/dump.py')
-rw-r--r-- | libmproxy/dump.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmproxy/dump.py b/libmproxy/dump.py index fe81eda1..50d4dc4b 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -31,7 +31,10 @@ def str_response(resp): def str_request(req): - return "%s %s"%(req.method, req.url()) + r = "%s %s"%(req.method, req.url()) + if req.stickycookie: + r = "[stickycookie] " + r + return r class DumpMaster(flow.FlowMaster): |