</keywords>
</info>
# Server-side
+#
+# The cookies set come in two versions. This is because when curl is built
+# with Hyper, the API provides the headers already "sanitized" so we cannot
+# compapare with the exact server contents unlesss it too sends the data
+# "clean".
+
<reply>
<data>
HTTP/1.1 200 OK\r
Content-Length: 4\r
Content-Type: text/html\r
Funny-head: yesyes\r
+%if !hyper
Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure\r
Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/\r
Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/\r
Set-Cookie: withspaces2 =before equals;\r
Set-Cookie: prespace= yes before;\r
Set-Cookie: securewithspace=after ; secure =\r
+%else
+Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure\r
+Set-Cookie: ismatch=this ; domain=127.0.0.1; path=/silly/\r
+Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/\r
+Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite\r
+Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure\r
+Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure=\r
+Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure=\r
+Set-Cookie: sec4value=secure4 ; secure=; domain=127.0.0.1; path=/secure4/ ;\r
+Set-Cookie: sec5value=secure5 ; secure; domain=127.0.0.1; path=/secure5/ ;\r
+Set-Cookie: sec6value=secure6 ; secure ; domain=127.0.0.1; path=/secure6/ ;\r
+Set-Cookie: sec7value=secure7 ; secure ; domain=127.0.0.1; path=/secure7/ ;\r
+Set-Cookie: sec8value=secure8 ; secure= ; domain=127.0.0.1; path=/secure8/ ;\r
+Set-Cookie: secure=very1 ; secure=; domain=127.0.0.1; path=/secure9/;\r
+Set-Cookie: httpo1=value1 ; domain=127.0.0.1; path=/p1/; httponly\r
+Set-Cookie: httpo2=value2 ; domain=127.0.0.1; path=/p2/; httponly=\r
+Set-Cookie: httpo3=value3 ; httponly; domain=127.0.0.1; path=/p3/;\r
+Set-Cookie: httpo4=value4 ; httponly=; domain=127.0.0.1; path=/p4/;\r
+Set-Cookie: httponly=myvalue1 ; domain=127.0.0.1; path=/p4/; httponly\r
+Set-Cookie: httpandsec=myvalue2 ; domain=127.0.0.1; path=/p4/; httponly; secure\r
+Set-Cookie: httpandsec2=myvalue3; domain=127.0.0.1; path=/p4/; httponly=; secure\r
+Set-Cookie: httpandsec3=myvalue4 ; domain=127.0.0.1; path=/p4/; httponly; secure=\r
+Set-Cookie: httpandsec4=myvalue5 ; domain=127.0.0.1; path=/p4/; httponly=; secure=\r
+Set-Cookie: httpandsec5=myvalue6 ; domain=127.0.0.1; path=/p4/; secure; httponly=\r
+Set-Cookie: httpandsec6=myvalue7 ; domain=127.0.0.1; path=/p4/; secure=; httponly=\r
+Set-Cookie: httpandsec7=myvalue8 ; domain=127.0.0.1; path=/p4/; secure; httponly\r
+Set-Cookie: httpandsec8=myvalue9; domain=127.0.0.1; path=/p4/; secure=; httponly\r
+Set-Cookie: partmatch=present; domain=127.0.0.1 ; path=/;\r
+Set-Cookie: eat=this; domain=moo.foo.moo;\r
+Set-Cookie: eat=this-too; domain=.foo.moo;\r
+Set-Cookie: nodomainnovalue\r
+Set-Cookie: nodomain=value; expires=Fri Feb 13 11:56:27 GMT 2037\r
+Set-Cookie: novalue; domain=reallysilly\r
+Set-Cookie: test=yes; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030\r
+Set-Cookie: test2=yes; domain=se; expires=Sat Feb 2 11:56:27 GMT 2030\r
+Set-Cookie: magic=yessir; path=/silly/; HttpOnly\r
+Set-Cookie: blexp=yesyes; domain=127.0.0.1; domain=127.0.0.1; expiry=totally bad;\r
+Set-Cookie: partialip=nono; domain=.0.0.1;\r
+Set-Cookie: withspaces= yes within and around ;\r
+Set-Cookie: withspaces2 =before equals;\r
+Set-Cookie: prespace= yes before;\r
+Set-Cookie: securewithspace=after ; secure =\r
+%endif
\r
boo
</data>