diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-10-01 12:48:26 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-10-01 12:48:26 +1300 |
commit | 41f1c66772c6546fc39b9dcf64d8c04992a2e1ab (patch) | |
tree | d23e4c8eac5da25693f936e5e77d9fdb2b015e71 /test/tutils.py | |
parent | 915bcfbd305d7b18de07f4f40dab1e49a06b132c (diff) | |
download | mitmproxy-41f1c66772c6546fc39b9dcf64d8c04992a2e1ab.tar.gz mitmproxy-41f1c66772c6546fc39b9dcf64d8c04992a2e1ab.tar.bz2 mitmproxy-41f1c66772c6546fc39b9dcf64d8c04992a2e1ab.zip |
Add -q and -r flags to pathod, logging request and respnose bytes.
- These flags also mean that a bytes log is included in the internal log
buffer.
- There's an -x flag to turn on hex dump output in the text logs (does
not affect the log buffer).
Diffstat (limited to 'test/tutils.py')
-rw-r--r-- | test/tutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tutils.py b/test/tutils.py index 8e7bca20..71a6034f 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -20,6 +20,8 @@ class DaemonTests: noapi = self.noapi, nohang = self.nohang, timeout = self.timeout, + logreq = True, + logresp = True ) @classmethod |