diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 2e0e62d95..b1022ef52 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -37,6 +37,7 @@ class Options(object): "setheaders", "server_replay", "script", + "showhost", "stickycookie", "stickyauth", "verbosity", diff --git a/test/test_dump.py b/test/test_dump.py index 7992f78ee..94d0b195f 100644 --- a/test/test_dump.py +++ b/test/test_dump.py @@ -12,8 +12,10 @@ def test_strfuncs(): t = tutils.treq() t.client_conn = None t.stickycookie = True - assert "stickycookie" in dump.str_request(t) - assert "replay" in dump.str_request(t) + assert "stickycookie" in dump.str_request(t, False) + assert "stickycookie" in dump.str_request(t, True) + assert "replay" in dump.str_request(t, False) + assert "replay" in dump.str_request(t, True) class TestDumpMaster: