mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 20:24:59 +08:00
91752990d5863526745e5c31cfb4b7459d11047e
We check if the server sent a connection:close header, and read till the socket closes. Closes #2
Netlib is a collection of network utility classes, used by 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 servers are implemented to allow misbehaviour when needed. At this point, I have no plans to make netlib useful beyond mitmproxy and pathod. Please get in touch if you think parts of netlib might have broader utility.
Languages
Python
88.8%
JavaScript
9.7%
Less
1%
Shell
0.2%
HTML
0.2%