daphne/tests
László Károlyi 31bb1bcc23
Fixing non-bytes headers, adding proxyhost+proxyport custom headers
The headers on my environment aren't bytes, rather str-s, and so
getting the host and port from those will result None being passed
as a result.

Also, since X-Forwarded-For is not to be trusted, and custom nginx
configurations can pass a `X-Real-IP` header, add two extra command
line parameters to be able to parse custom passed remote IP headers.
2018-05-10 17:22:27 +02:00
..
http_base.py Fixed #150: Correctly handle bad querystrings 2018-03-04 09:48:33 -08:00
http_strategies.py Don't put commas in the header hypothesis tests 2018-02-07 14:15:28 -08:00
test_cli.py Fixing non-bytes headers, adding proxyhost+proxyport custom headers 2018-05-10 17:22:27 +02:00
test_http_request.py Fixed #150: Correctly handle bad querystrings 2018-03-04 09:48:33 -08:00
test_http_response.py Further improve flaky header tests 2018-02-01 21:18:13 -08:00
test_utils.py Fixing non-bytes headers, adding proxyhost+proxyport custom headers 2018-05-10 17:22:27 +02:00
test_websocket.py Don't apply HTTP timeout to WebSocket connections! 2018-02-04 12:08:57 -08:00