mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
cfb943bfdd
- Move to an addon - Use a much simpler synchronisation mechanism
28 lines
871 B
Python
28 lines
871 B
Python
from __future__ import absolute_import, print_function, division
|
|
|
|
from mitmproxy.builtins import anticache
|
|
from mitmproxy.builtins import anticomp
|
|
from mitmproxy.builtins import filestreamer
|
|
from mitmproxy.builtins import stickyauth
|
|
from mitmproxy.builtins import stickycookie
|
|
from mitmproxy.builtins import script
|
|
from mitmproxy.builtins import replace
|
|
from mitmproxy.builtins import setheaders
|
|
from mitmproxy.builtins import serverplayback
|
|
from mitmproxy.builtins import clientplayback
|
|
|
|
|
|
def default_addons():
|
|
return [
|
|
anticache.AntiCache(),
|
|
anticomp.AntiComp(),
|
|
stickyauth.StickyAuth(),
|
|
stickycookie.StickyCookie(),
|
|
script.ScriptLoader(),
|
|
filestreamer.FileStreamer(),
|
|
replace.Replace(),
|
|
setheaders.SetHeaders(),
|
|
serverplayback.ServerPlayback(),
|
|
clientplayback.ClientPlayback(),
|
|
]
|