mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
9 lines
238 B
Python
9 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
|
|
|
|
|