mitmproxy/examples/simple/modify_querystring.py

6 lines
117 B
Python

from mitmproxy import http
def request(flow: http.HTTPFlow) -> None:
flow.request.query["mitmproxy"] = "rocks"