summaryrefslogtreecommitdiffhomepage
path: root/test/test_http_header.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-11-19Tests: added tests for a "discard_unsafe_fields" option.Andrei Zeliankou1-0/+38
2020-11-19Tests: style.Andrei Zeliankou1-36/+40
2020-10-07Tests: minor fixes.Andrei Zeliankou1-2/+2
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-174/+120
2020-05-15Tests: style.Andrei Zeliankou1-0/+1
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-05-30Tests: fixed tests without "Host" header.Andrey Zelenkov1-4/+3
2019-04-09Tests: simplified module checking.Andrey Zelenkov1-2/+1
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-5/+4
2019-03-26Tests: style.Andrey Zelenkov1-177/+299
2019-02-27Tests: "Host" header tests.Andrey Zelenkov1-0/+147
2019-02-27Tests: added "Host" and "Connetion" headers where necessary.Andrey Zelenkov1-21/+43
Also minor header organizing.
2019-02-20Tests: removed test_http_header_transfer_encoding_chunked.Andrey Zelenkov1-17/+0
2019-02-18Rejecting requests with duplicate "Content-Length".Valentin Bartenev1-1/+0
2019-02-14Tests: added tests for "Content-Length" header.Andrey Zelenkov1-0/+46
2018-11-15Tests: added command line arguments parsing in tests.Andrey Zelenkov1-1/+1
Added the following command line arguments: -d, --detailed: Show detailed output for tests Usage examples: ./test/run.py --detailed python3 test/test_access_log.py --detailed python3 test/test_access_log.py -d TestUnitAccessLog.test_access_log_ipv6 -l, --log: Save unit.log after the test execution Usage examples: ./test/run.py -l python3 test/test_access_log.py -l python3 test/test_access_log.py --log TestUnitAccessLog.test_access_log_ipv6
2018-08-08Tests: simple "Transfer-Encoding" client header test.Andrey Zelenkov1-0/+17
2018-08-06Python: decoding unicode strings as Latin1.Max Romanov1-1/+0
According to PEP 3333, header names and values should be decoded as Latin1.
2018-07-30Tests: fixed header value char tests.Andrey Zelenkov1-6/+13
Use byte strings to avoid problems with encoding.
2018-07-11Tests: more chars in header values tests.Andrey Zelenkov1-0/+20
2018-03-16Tests: HTTP header field and value tests.Andrey Zelenkov1-0/+123