mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
44ac64aa72
This commit introduces MultiDict, a multi-dictionary similar to ODict, but with improved semantics (as in the Headers class). MultiDict fixes a few issues that were present in the Request/Response API. In particular, `request.cookies["foo"] = "bar"` has previously been a no-op, as the cookies property returned a mutable _copy_ of the cookies. |
||
---|---|---|
.. | ||
http1 | ||
http2 | ||
__init__.py | ||
test_authentication.py | ||
test_cookies.py | ||
test_headers.py | ||
test_message.py | ||
test_request.py | ||
test_response.py | ||
test_status_codes.py | ||
test_user_agents.py |