mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-05-10 04:59:08 +08:00
Two different strategies here:
- Use a simple heuristic to detect if we're looking at XML data when indent
mode is used. On non-XML data we can hang even on small documents.
- Only view partial data for large bodies. At the moment the cutoff is
100k. I might finetune this later.