mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
update docs, mostly revert 2f44b26b4c
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
|
||||
def request(context, flow):
|
||||
q = flow.request.query
|
||||
def request(ctx, flow):
|
||||
q = flow.request.get_query()
|
||||
if q:
|
||||
q["mitmproxy"] = ["rocks"]
|
||||
flow.request.query = q
|
||||
|
||||
flow.request.set_query(q)
|
||||
Reference in New Issue
Block a user