From ead8a497f382d6b82c98721d504a5ccd40889b1c Mon Sep 17 00:00:00 2001 From: Kirilll Zaborsky Date: Mon, 2 Feb 2015 12:34:25 +0300 Subject: inets: parse correctly 'Set-Cookie' header with empty value httpc_cookie should parse cookies with empty values and no attributes set in the 'Set-Cookie' headers. --- lib/inets/test/httpc_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/inets/test/httpc_SUITE.erl') diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl index 545cc3f11b..ea4c97be9f 100644 --- a/lib/inets/test/httpc_SUITE.erl +++ b/lib/inets/test/httpc_SUITE.erl @@ -1702,6 +1702,7 @@ handle_uri(_,"/empty_set_cookie.html",_,_,_,_) -> handle_uri(_,"/invalid_set_cookie.html",_,_,_,_) -> "HTTP/1.1 200 ok\r\n" ++ "set-cookie: =\r\n" ++ + "set-cookie: name=\r\n" ++ "set-cookie: name-or-value\r\n" ++ "Content-Length:32\r\n\r\n"++ "foobar"; -- cgit v1.2.3