From f05953516be489e8b4159f29e2db6b7920a2b45f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 Apr 2011 15:45:25 +0200 Subject: ct: Add a test for \n which throws an error 400. --- test/http_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index 1d2ebb0..628c6c9 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -97,6 +97,7 @@ raw_req(Packet, Config) -> raw(Config) -> Tests = [ {"\r\n\r\n\r\n\r\n\r\nGET / HTTP/1.1\r\nHost: localhost\r\n\r\n", 200}, + {"\n", 400}, {"Garbage\r\n\r\n", 400}, {"\r\n\r\n\r\n\r\n\r\n\r\n", 400}, {"GET / HTTP/1.1\r\nHost: dev-extend.eu\r\n\r\n", 400}, -- cgit v1.2.3