mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 02:37:15 +00:00
8 lines
238 B
Python
8 lines
238 B
Python
|
|
def request(context, flow):
|
|
if "application/x-www-form-urlencoded" in flow.request.headers["content-type"]:
|
|
frm = flow.request.form_urlencoded
|
|
frm["mitmproxy"] = ["rocks"]
|
|
flow.request.form_urlencoded = frm
|
|
|
|
|