%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/mitmproxy/addons/ |
Current File : //usr/lib/python3/dist-packages/mitmproxy/addons/anticache.py |
from mitmproxy import ctx class AntiCache: def load(self, loader): loader.add_option( "anticache", bool, False, """ Strip out request headers that might cause the server to return 304-not-modified. """ ) def request(self, flow): if ctx.options.anticache: flow.request.anticache()