diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-19 18:17:09 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-22 15:30:34 +0200 |
commit | 11ac387df2a49d132a08648b6cb5121224924c9d (patch) | |
tree | a4d141d638211fa4f98d12edc7f07680b3f394a6 /examples | |
parent | 6d5a3da9294d5bc6758ded173729042573c9fe5f (diff) | |
download | mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.tar.gz mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.tar.bz2 mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.zip |
rename content -> body
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test_context.py | 2 | ||||
-rw-r--r-- | examples/test_setup.py | 2 | ||||
-rw-r--r-- | examples/test_setupall.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/test_context.py b/examples/test_context.py index 7c0386c1..1f0a7f8b 100644 --- a/examples/test_context.py +++ b/examples/test_context.py @@ -16,7 +16,7 @@ def test_simple(): # 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 = d.last_log()["request"] diff --git a/examples/test_setup.py b/examples/test_setup.py index 39bd96b9..c6e52d00 100644 --- a/examples/test_setup.py +++ b/examples/test_setup.py @@ -24,7 +24,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"] 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"] |