aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_filt.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-16 18:45:22 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-16 18:45:22 +0200
commit0af060897854e0e0fc8207af02d22bec9eacab12 (patch)
tree8f5206386bb481a813f1b6891c30d5d2d33924ba /test/test_filt.py
parent436a9ea8398e25709f139fde609aa74e8fb3f3f8 (diff)
downloadmitmproxy-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.py5
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,