diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-23 21:39:31 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-23 21:39:31 +1200 |
commit | 190392ea13f998fe298d48738131779f522d62e9 (patch) | |
tree | fe5db29feb06d8f50161f17acd9126a911d4d6dc /pathod | |
parent | 622a2b560753f2e4aa96bfb4e97bfcac4d0bedbd (diff) | |
download | mitmproxy-190392ea13f998fe298d48738131779f522d62e9.tar.gz mitmproxy-190392ea13f998fe298d48738131779f522d62e9.tar.bz2 mitmproxy-190392ea13f998fe298d48738131779f522d62e9.zip |
Add a --nocraft option to pathod that turns off crafting.
Diffstat (limited to 'pathod')
-rwxr-xr-x | pathod | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -31,6 +31,10 @@ if __name__ == "__main__": help='Disable web interface and API.' ) parser.add_argument( + "--nocraft", dest='nocraft', default=False, action="store_true", + help='Disable response crafting. If anchors are specified, they still work.' + ) + parser.add_argument( "--keyfile", dest='ssl_keyfile', default=None, type=str, help='SSL key file. If not specified, a default key is used.' ) @@ -85,7 +89,8 @@ if __name__ == "__main__": staticdir = args.staticdir, anchors = alst, sizelimit = sizelimit, - noweb = args.noweb + noweb = args.noweb, + nocraft = args.nocraft ) except pathod.PathodError, v: parser.error(str(v)) |