mitmproxy/examples/simple/modify_querystring.py
2017-04-29 03:26:14 +05:30

6 lines
117 B
Python

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