diff options
author | Henrik Nordstrom <henrik@henriknordstrom.net> | 2011-02-15 18:44:57 +0100 |
---|---|---|
committer | Henrik Nordstrom <henrik@henriknordstrom.net> | 2011-02-15 22:24:38 +0100 |
commit | 89627a702a6159542917e3cb499079caa75783c7 (patch) | |
tree | 4d62d159bb7debf878f1bb2b83dce11cb4cf605f /test/test_proxy.py | |
parent | 759496e24eeef8572f8f57e47254e7df0b178d19 (diff) | |
download | mitmproxy-89627a702a6159542917e3cb499079caa75783c7.tar.gz mitmproxy-89627a702a6159542917e3cb499079caa75783c7.tar.bz2 mitmproxy-89627a702a6159542917e3cb499079caa75783c7.zip |
drop unused protocol parameter from Response
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r-- | test/test_proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index 39689746..bb1a2122 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -237,7 +237,7 @@ class uResponse(libpry.AutoTree): h["test"] = ["test"] c = proxy.ClientConnection(("addr", 2222)) req = proxy.Request(c, "host", 22, "https", "GET", "/", h, "content") - resp = proxy.Response(req, 200, "HTTP", "msg", h.copy(), "content") + resp = proxy.Response(req, 200, "msg", h.copy(), "content") assert resp.short() assert resp.assemble() |