My old script with mitmproxy 0.15 was works great, but when I switched to 1.0.2 version, duplicate and replay not works as I expected and I don't know how fix it.
list = foo(data)
for item in list:
dict = createDict(item)
nf = allData['flow'].copy() #Previos flow saved on allData global variable
newFlow = changeFlowRequest(nf, dict)
The behaviour I want is make a new request per every item in list and every request is paused three seconds before the next request, but I get all requests without pause and without order.
How can I get pause between requests and in the same order in list.