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 move custom HTTP/2 stack from netlib to pathod 2016-06-17 15:06:01 +02:00
__init__.py move tests into shared folder 2016-02-15 16:34:22 +01:00
test_authentication.py more style cleanup 2016-05-29 13:43:20 +02:00
test_cookies.py Test cookies.is_expired separately 2016-07-10 01:06:50 +05:30
test_headers.py preserve content-type parameter order 2016-07-15 23:46:12 -07:00
test_message.py Merge remote-tracking branch 'origin/master' into message-body-encoding 2016-07-15 23:17:57 -07:00
test_multipart.py Satisfy flake8 2016-05-31 19:58:28 +12:00
test_request.py py3++ 2016-07-07 17:29:22 -07:00
test_response.py Fix test failures 2016-05-31 20:19:54 +12:00
test_status_codes.py move tests into shared folder 2016-02-15 16:34:22 +01:00
test_url.py Satisfy flake8 2016-05-31 19:58:28 +12:00
test_user_agents.py move tests into shared folder 2016-02-15 16:34:22 +01:00