mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
f2d784896d
- Move implementation out of __init__.py to protocol.py (an anti-pattern because it makes the kind of structural refactoring we need hard) - protocol imports frame, frame does not import protocol. To do this, we shift the default settings to frame. If this feels wrong, we can move them to a separate module (defaults.py?.). |
||
---|---|---|
netlib | ||
test | ||
tools | ||
.coveragerc | ||
.env | ||
.gitignore | ||
.travis.yml | ||
check_coding_style.sh | ||
LICENSE | ||
MANIFEST.in | ||
README.mkd | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
Netlib is a collection of network utility classes, used by the pathod and mitmproxy projects. It differs from other projects in some fundamental respects, because both pathod and mitmproxy often need to violate standards. This means that protocols are implemented as small, well-contained and flexible functions, and are designed to allow misbehaviour when needed.