aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/modify_querystring.py
blob: 12b16fda7987ff41ce534cf32e52296fd3812ef2 (plain)
1
2
3
4
5
from mitmproxy import http


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