mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
8237183485
Updated utils.py using 2to3-3.4 Updated hexdump to use .format() with .encode() to support python 3.4 Python 3.5 supports .format() on bytes objects, but 3.4 is the current default on Ubuntu. samc$ py.test netlib/test/test_utils.py = test session starts = platform darwin -- Python 3.4.1, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 rootdir: /Users/samc/src/python/netlib, inifile: collected 11 items netlib/test/test_utils.py ........... = 11 passed in 0.19 seconds = |
||
---|---|---|
netlib | ||
test | ||
tools | ||
.appveyor.yml | ||
.coveragerc | ||
.env | ||
.gitignore | ||
.landscape.yml | ||
.travis.yml | ||
check_coding_style.sh | ||
CONTRIBUTORS | ||
LICENSE | ||
MANIFEST.in | ||
README.mkd | ||
requirements.txt | ||
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.
Requirements
Hacking
If you'd like to work on netlib, check out the instructions in mitmproxy's README.