mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
update examples, fix #353
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
def request(ctx, flow):
|
||||
def request(context, flow):
|
||||
q = flow.request.get_query()
|
||||
if q:
|
||||
q["mitmproxy"] = ["rocks"]
|
||||
|
||||
Reference in New Issue
Block a user