1 2 3 4 5 6 7
def request(context, flow): q = flow.request.query if q: q["mitmproxy"] = ["rocks"] flow.request.query = q