diff options
Diffstat (limited to 'examples/modify_form.py')
-rw-r--r-- | examples/modify_form.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/modify_form.py b/examples/modify_form.py deleted file mode 100644 index b63a1586..00000000 --- a/examples/modify_form.py +++ /dev/null @@ -1,8 +0,0 @@ -def request(flow): - if flow.request.urlencoded_form: - flow.request.urlencoded_form["mitmproxy"] = "rocks" - else: - # This sets the proper content type and overrides the body. - flow.request.urlencoded_form = [ - ("foo", "bar") - ] |