aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/http1
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-07 17:50:26 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-07-07 17:50:26 -0700
commit76473d44e035306503a426ebcd55967798f243a1 (patch)
tree6fe75ef723b9c104897a1c025938fa3d752b3491 /test/netlib/http/http1
parentf62e976e1e0245665aeeb08fa801661d6c766ba8 (diff)
downloadmitmproxy-76473d44e035306503a426ebcd55967798f243a1.tar.gz
mitmproxy-76473d44e035306503a426ebcd55967798f243a1.tar.bz2
mitmproxy-76473d44e035306503a426ebcd55967798f243a1.zip
py3++
Diffstat (limited to 'test/netlib/http/http1')
-rw-r--r--test/netlib/http/http1/test_assemble.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/netlib/http/http1/test_assemble.py b/test/netlib/http/http1/test_assemble.py
index 50d29384..841ea58a 100644
--- a/test/netlib/http/http1/test_assemble.py
+++ b/test/netlib/http/http1/test_assemble.py
@@ -24,7 +24,7 @@ def test_assemble_request():
def test_assemble_request_head():
- c = assemble_request_head(treq(content="foo"))
+ c = assemble_request_head(treq(content=b"foo"))
assert b"GET" in c
assert b"qvalue" in c
assert b"content-length" in c