2012-02-23 02:43:04 +00:00
|
|
|
|
2014-09-08 14:02:31 +00:00
|
|
|
def request(context, flow):
|
2014-09-05 13:16:20 +00:00
|
|
|
q = flow.request.get_query()
|
2012-02-23 02:43:04 +00:00
|
|
|
if q:
|
|
|
|
q["mitmproxy"] = ["rocks"]
|
2014-09-05 13:16:20 +00:00
|
|
|
flow.request.set_query(q)
|