blob: 6d651b19686d78ff224660408e5b795f480b19ce (
plain)
1
2
3
4
5
6
|
def request(ctx, flow):
if "application/x-www-form-urlencoded" in flow.request.headers["content-type"]:
form = flow.request.get_form_urlencoded()
form["mitmproxy"] = ["rocks"]
flow.request.set_form_urlencoded(form)
|