From a62e155ca4d9e1db640d897bfbabbd4bf865b777 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 31 Jan 2008 12:21:57 +0000 Subject: - Niklas Angebrand made the cookie support in libcurl properly deal with the "HttpOnly" feature introduced by Microsoft and apparently also supported by Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly is now supported when received from servers in HTTP headers, when written to cookie jars and when read from existing cookie jars. --- tests/data/test46 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/data/test46') diff --git a/tests/data/test46 b/tests/data/test46 index bc0821904..56ad85958 100644 --- a/tests/data/test46 +++ b/tests/data/test46 @@ -51,6 +51,7 @@ TZ=GMT www.fake.come FALSE / FALSE 1022144953 cookiecliente si www.loser.com FALSE / FALSE 1139150993 UID 99 %HOSTIP FALSE / FALSE 1439150993 mooo indeed +#HttpOnly_%HOSTIP FALSE / FALSE 1439150993 mooo2 indeed2 %HOSTIP FALSE / FALSE 0 empty @@ -64,7 +65,7 @@ www.loser.com FALSE / FALSE 1139150993 UID 99 GET /want/46 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Cookie: empty=; mooo=indeed +Cookie: empty=; mooo2=indeed2; mooo=indeed @@ -75,6 +76,7 @@ Cookie: empty=; mooo=indeed www.fake.come FALSE / FALSE 1022144953 cookiecliente si www.loser.com FALSE / FALSE 1139150993 UID 99 %HOSTIP FALSE / FALSE 1439150993 mooo indeed +#HttpOnly_%HOSTIP FALSE / FALSE 1439150993 mooo2 indeed2 %HOSTIP FALSE / FALSE 0 empty %HOSTIP FALSE / FALSE 2054030187 ckyPersistent permanent %HOSTIP FALSE / FALSE 0 ckySession temporary -- cgit v1.2.3