I want to generate an arbitrary number of requests automatically when a certain URL is seen in the proxy.
For example… if “https://example.com/page1” is requested I want to send 9 additional requests for page2…page10 in the background.
What is the best way to send these requests within the functionality of mitmproxy? Ideally these requests would still be processed by the response controller handler (so it looks like they are coming from the browser and not generated by mitproxy itself).
Is this possible?