mitmproxy/test/netlib/http
Aldo Cortesi 02acfb1242 Fix netlib.utils.is_valid_host
- Don't crash when passed an empty string. This translated into an actual core
crash, discovered while fuzzing with afl.
- Taking a slice of length one out of bytes returns an integer, so the check
for trailing period in this function never worked on Python3.
- Add unit tests.
2016-07-21 10:38:37 +12:00
..
http1 Fix netlib.utils.is_valid_host 2016-07-21 10:38:37 +12:00
http2
__init__.py
test_authentication.py
test_cookies.py
test_headers.py
test_message.py
test_multipart.py
test_request.py
test_response.py
test_status_codes.py
test_url.py
test_user_agents.py