aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-11-16 11:31:04 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-11-16 13:46:42 +1300
commitef9cbe3b25face06f941a9f92aac5c79821e83bf (patch)
treebc744521b2c66d15cb8febd19632fde3cb4281ec /libpathod/pathod.py
parent5d18830f7169fcacac2d23b349a82502bd4171b4 (diff)
downloadmitmproxy-ef9cbe3b25face06f941a9f92aac5c79821e83bf.tar.gz
mitmproxy-ef9cbe3b25face06f941a9f92aac5c79821e83bf.tar.bz2
mitmproxy-ef9cbe3b25face06f941a9f92aac5c79821e83bf.zip
Add u User-agent shortcut.
Usage: 200:ua - Shortcut "a" for Android. 200:u"foo" - Or a value literal Shortcuts can be listed using the --show-uas argument to pathoc.
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index f327ade4..d52af15b 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -30,7 +30,6 @@ class PathodHandler(tcp.BaseHandler):
if self.server.explain:
crafted = crafted.freeze(self.server.request_settings, None)
- print crafted
response_log = language.serve(crafted, self.wfile, self.server.request_settings, None)
log = dict(
type = "crafted",