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 /libpathod/pathoc.py | |
parent | 6d5a3da9294d5bc6758ded173729042573c9fe5f (diff) | |
download | mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.tar.gz mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.tar.bz2 mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.zip |
rename content -> body
Diffstat (limited to 'libpathod/pathoc.py')
-rw-r--r-- | libpathod/pathoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py index c1bca07f..e93e6208 100644 --- a/libpathod/pathoc.py +++ b/libpathod/pathoc.py @@ -417,7 +417,7 @@ class Pathoc(tcp.TCPClient): finally: if resp: lg("<< %s %s: %s bytes" % ( - resp.status_code, utils.xrepr(resp.msg), len(resp.content) + resp.status_code, utils.xrepr(resp.msg), len(resp.body) )) if resp.status_code in self.ignorecodes: lg.suppress() |