mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-31 07:18:58 +00:00
d51b8cab0c
This simplifies a common chore when modifying traffic - decoding the object, modifying it, then re-encoding it with the same encoding afterwards. You can now simply say: with flow.decoded(request): request.content = "bar" |
||
---|---|---|
.. | ||
console | ||
contrib | ||
__init__.py | ||
certutils.py | ||
cmdline.py | ||
controller.py | ||
dump.py | ||
encoding.py | ||
filt.py | ||
flow.py | ||
proxy.py | ||
script.py | ||
tnetstring.py | ||
utils.py | ||
version.py |