aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/addons/anticache.py
blob: 5b34d5a51a4d2e7a82923a5277b416f22c87c609 (plain)
1
2
3
4
5
6
7
from mitmproxy import ctx


class AntiCache:
    def request(self, flow):
        if ctx.options.anticache:
            flow.request.anticache()