blob: c2f0a47e58371e57d3d6eb80d12c911eb68713f3 (
plain)
1
2
3
4
5
|
def request(context, 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)
|