mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-13 09:19:49 +08:00
6 lines
140 B
Python
6 lines
140 B
Python
|
|
def request(context, flow):
|
|
q = flow.request.get_query()
|
|
if q:
|
|
q["mitmproxy"] = ["rocks"]
|
|
flow.request.set_query(q) |