aboutsummaryrefslogtreecommitdiffstats
path: root/test/http/http1/test_protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/http/http1/test_protocol.py')
-rw-r--r--test/http/http1/test_protocol.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/http/http1/test_protocol.py b/test/http/http1/test_protocol.py
index b196b7a3..05bad1af 100644
--- a/test/http/http1/test_protocol.py
+++ b/test/http/http1/test_protocol.py
@@ -75,16 +75,6 @@ def test_connection_close():
assert HTTP1Protocol.connection_close((1, 1), h)
-def test_get_header_tokens():
- h = odict.ODictCaseless()
- assert http.get_header_tokens(h, "foo") == []
- h["foo"] = ["bar"]
- assert http.get_header_tokens(h, "foo") == ["bar"]
- h["foo"] = ["bar, voing"]
- assert http.get_header_tokens(h, "foo") == ["bar", "voing"]
- h["foo"] = ["bar, voing", "oink"]
- assert http.get_header_tokens(h, "foo") == ["bar", "voing", "oink"]
-
def test_read_http_body_request():
h = odict.ODictCaseless()