diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-16 18:45:22 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-16 18:45:22 +0200 |
commit | 0af060897854e0e0fc8207af02d22bec9eacab12 (patch) | |
tree | 8f5206386bb481a813f1b6891c30d5d2d33924ba /test/test_filt.py | |
parent | 436a9ea8398e25709f139fde609aa74e8fb3f3f8 (diff) | |
download | mitmproxy-0af060897854e0e0fc8207af02d22bec9eacab12.tar.gz mitmproxy-0af060897854e0e0fc8207af02d22bec9eacab12.tar.bz2 mitmproxy-0af060897854e0e0fc8207af02d22bec9eacab12.zip |
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, |