mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
9c873d63f4
This commit improves Python 3 compatibility and fixes two multidict issues: 1. Headers.items(multi=True) now decodes fields 2. MultiDict.clear(item) has been removed, as Python's MutableMapping already defines .clear() with different semantics. This is confusing for everyone who expects a dict-like object. `.pop("attr", None)` is not fantastic, but it's the Python way to do it. |
||
---|---|---|
.. | ||
http | ||
websockets | ||
__init__.py | ||
basethread.py | ||
basetypes.py | ||
certutils.py | ||
debug.py | ||
encoding.py | ||
exceptions.py | ||
human.py | ||
multidict.py | ||
socks.py | ||
strutils.py | ||
tcp.py | ||
tutils.py | ||
utils.py | ||
version_check.py | ||
version.py | ||
wsgi.py |