%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/lib/python3/dist-packages/mitmproxy/addons/
Upload File :
Create Path :
Current File : //proc/985914/root/lib/python3/dist-packages/mitmproxy/addons/anticomp.py

from mitmproxy import ctx


class AntiComp:
    def load(self, loader):
        loader.add_option(
            "anticomp", bool, False,
            "Try to convince servers to send us un-compressed data."
        )

    def request(self, flow):
        if ctx.options.anticomp:
            flow.request.anticomp()

Zerion Mini Shell 1.0