| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Handles zstandard-compressed bodies labeled as zstd.
|
|
|
| |
original contribution from @0xHJK in https://github.com/mitmproxy/mitmproxy/pull/3150
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The types name is valuable, and we have a better use for it in collecting and
exposing types for options and commands.
The coretypes module should probably be split up anyway - it contains a
threading base class, a few container objects, and the defintion of our
serialization protocol. I was tempted to rename it to "uncagegorized" for the
sake of honesty.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We get little benefit from our mypy QA checks at the moment, because we skip
imports. This patch is what's needed to make mypy succeed with imports on a
single file: master.py
It also updates mypy to the current version, and enables a QA check.
Mypy bugs I encountered:
dict.update with kwargs not supported:
https://github.com/python/mypy/issues/1031
property setters and getters must be adjacent:
https://github.com/python/mypy/issues/1465
|
| |
|
|
|
|
|
|
| |
- native() -> always_str()
The old function name does not make sense on Python 3 only.
- Inline utility functions in message.py.
|
| |
|
| |
|
| |
|
|
|