From 33fa49277a821b9d38e8c9bf0bcf2adcfa2f6f04 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 15 Feb 2016 14:58:46 +0100 Subject: move mitmproxy --- examples/modify_form.py | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 examples/modify_form.py (limited to 'examples/modify_form.py') diff --git a/examples/modify_form.py b/examples/modify_form.py deleted file mode 100644 index 3e9d15c0..00000000 --- a/examples/modify_form.py +++ /dev/null @@ -1,5 +0,0 @@ -def request(context, flow): - if "application/x-www-form-urlencoded" in flow.request.headers.get("content-type", ""): - form = flow.request.get_form_urlencoded() - form["mitmproxy"] = ["rocks"] - flow.request.set_form_urlencoded(form) -- cgit v1.2.3