diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-16 20:24:48 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-16 20:24:48 +0200 |
commit | 8fbed971ae4a84e875f1072805b17cc7ada39fad (patch) | |
tree | 09c31384b2b1d22680534af8ff40ae724a13e05b /test/test_filt.py | |
parent | ee6969c1fac20d592e0775bfe074b4bcfcf83461 (diff) | |
parent | 0af060897854e0e0fc8207af02d22bec9eacab12 (diff) | |
download | mitmproxy-8fbed971ae4a84e875f1072805b17cc7ada39fad.tar.gz mitmproxy-8fbed971ae4a84e875f1072805b17cc7ada39fad.tar.bz2 mitmproxy-8fbed971ae4a84e875f1072805b17cc7ada39fad.zip |
Merge pull request #768 from mitmproxy/netlib-http1-refactor
Adjust to netlib changes
Diffstat (limited to 'test/test_filt.py')
-rw-r--r-- | test/test_filt.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_filt.py b/test/test_filt.py index 76e10710..104849be 100644 --- a/test/test_filt.py +++ b/test/test_filt.py @@ -84,7 +84,7 @@ class TestMatching: "host", 80, "/path", - (1, 1), + b"HTTP/1.1", headers, "content_request", None, @@ -99,8 +99,7 @@ class TestMatching: headers = Headers([["header_response", "svalue"]]) f.response = http.HTTPResponse( - (1, - 1), + b"HTTP/1.1", 200, "OK", headers, |