aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test_setupall.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-07-24 17:43:41 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-07-24 17:43:41 +0200
commitf8b4d666870163d6770aabefe212b8ecd981d490 (patch)
tree8c6f2fc9ef4c06c40a04514f651785540d278bf3 /examples/test_setupall.py
parent9a1bee31d6d7b92bf5b4cb68d853c856acdfb036 (diff)
parent96c9c4459f0bb9b76ab34f8c8d03d0e5d28621f4 (diff)
downloadmitmproxy-f8b4d666870163d6770aabefe212b8ecd981d490.tar.gz
mitmproxy-f8b4d666870163d6770aabefe212b8ecd981d490.tar.bz2
mitmproxy-f8b4d666870163d6770aabefe212b8ecd981d490.zip
Merge pull request #31 from Kriechi/protocol-refactor
HTTP protocol refactoring
Diffstat (limited to 'examples/test_setupall.py')
-rw-r--r--examples/test_setupall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test_setupall.py b/examples/test_setupall.py
index 631caa76..ddf4d905 100644
--- a/examples/test_setupall.py
+++ b/examples/test_setupall.py
@@ -29,7 +29,7 @@ class Test:
# Check the returned data
assert r.status_code == 200
- assert len(r.content) == 100
+ assert len(r.body) == 100
# Check pathod's internal log
log = self.d.last_log()["request"]