aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_http.py b/test/test_http.py
index a6161fbc..ed16fb4a 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -139,6 +139,7 @@ def test_parse_init_connect():
assert not http.parse_init_connect("GET host.com:443 HTTP/1.0")
assert not http.parse_init_connect("CONNECT host.com443 HTTP/1.0")
assert not http.parse_init_connect("CONNECT host.com:443 foo/1.0")
+ assert not http.parse_init_connect("CONNECT host.com:foo HTTP/1.0")
def test_prase_init_proxy():