2014-09-08 14:02:31 +00:00
|
|
|
def request(context, flow):
|
2016-03-07 03:40:08 +00:00
|
|
|
form = flow.request.urlencoded_form
|
|
|
|
if form is not None:
|
2014-09-05 13:16:20 +00:00
|
|
|
form["mitmproxy"] = ["rocks"]
|
2016-03-07 03:40:08 +00:00
|
|
|
flow.request.urlencoded_form = form
|