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 /test | |
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 'test')
-rw-r--r-- | test/test_dump.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_dump.py b/test/test_dump.py index 1f6b7acc..cfa690b1 100644 --- a/test/test_dump.py +++ b/test/test_dump.py @@ -10,6 +10,10 @@ class uStrFuncs(libpry.AutoTree): t.set_replay() dump.str_response(t) + t = utils.treq() + t.stickycookie = True + assert "stickycookie" in dump.str_request(t) + class uDumpMaster(libpry.AutoTree): def _cycle(self, m, content): |