mitmproxy/test
lukant c10ff719f7
Fix interaction of modifyheaders addon with stream_large_bodies option (#7286)
* Fix interaction of modifyheaders addon with stream_large_bodies option

`modifyheaders` addon uses `request` and `response` hooks which, when
`stream_large_bodies` is enabled, are called after headers have already
been sent and can no longer be modified.

This commit changes `modifyheaders` addon to use
`requestheaders` and `responseheaders` hooks.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-31 22:08:17 +00:00
..
bench fix some typos (#6728) 2024-03-11 08:19:36 +01:00
examples [autofix.ci] apply automated fixes 2022-11-29 13:28:41 +00:00
helper_tools Incorporate existing SNI into allow/ignore decision, fix #5064 (#7002) 2024-07-05 22:19:55 +00:00
mitmproxy Fix interaction of modifyheaders addon with stream_large_bodies option (#7286) 2024-10-31 22:08:17 +00:00
wg-test-client add transparent server mode based on WireGuard (#5562) 2022-09-18 17:15:15 +02:00
__init__.py
conftest.py Add `tun` proxy mode on Linux (#7278) 2024-10-29 02:34:39 +05:30
filename_matching.py [autofix.ci] apply automated fixes 2022-11-29 13:28:41 +00:00
individual_coverage.py Individual coverage: skip logic-free __init__ files (#7186) 2024-09-18 22:37:12 +05:30