From bcef70818be1b0fdf5d3e52e9b7c490882218b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 30 Mar 2020 17:46:42 +0200 Subject: Fix the req_SUITE:parse_cookie test We now allow spaces in cookie names. --- test/req_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/req_SUITE.erl') diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl index d50b2ff..f71883f 100644 --- a/test/req_SUITE.erl +++ b/test/req_SUITE.erl @@ -281,7 +281,7 @@ parse_cookies(Config) -> [{<<"cookie">>, "cake=strawberry"}, {<<"cookie">>, "color=blue"}], Config), %% Ensure parse errors result in a 400 response. {400, _, _} = do_get("/parse_cookies", - [{<<"cookie">>, "bad name=strawberry"}], Config), + [{<<"cookie">>, "bad\tname=strawberry"}], Config), {400, _, _} = do_get("/parse_cookies", [{<<"cookie">>, "goodname=strawberry\tmilkshake"}], Config), ok. -- cgit v1.2.3