mitmproxy/examples/modify_querystring.py
2014-09-03 23:44:54 +02:00

8 lines
133 B
Python

def request(context, flow):
q = flow.request.query
if q:
q["mitmproxy"] = ["rocks"]
flow.request.query = q