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=Tue Feb 1 11:56:27 GMT 2014\r
+Set-Cookie: nodomain=value; expires=Tue Feb 1 11:56:27 GMT 2038\r
Set-Cookie: novalue; domain=reallysilly\r
-Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2007\r
-Set-Cookie: test2=yes; domain=se; expires=Tue Feb 1 11:56:27 GMT 2007\r
+Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2038\r
+Set-Cookie: test2=yes; domain=se; expires=Tue Feb 1 11:56:27 GMT 2038\r
\r
boo
</data>
Server: Microsoft-IIS/4.0
Date: Tue, 25 Sep 2001 19:37:44 GMT
Content-Type: text/html
-Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 05:00:00 GMT; path=/
+Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2038 05:00:00 GMT; path=/
Set-Cookie: ckySession=temporary; path=/
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
Set-Cookie: justaname=; path=/;
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
-Set-Cookie: test1=one; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
-Set-Cookie: test2=two; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
-Set-Cookie: test3=three; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
+Set-Cookie: test1=one; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2038
+Set-Cookie: test2=two; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2038
+Set-Cookie: test3=three; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2038
Content-Length: 29
run 1: set cookie 1, 2 and 3
Date: Thu, 09 Nov 2010 14:49:01 GMT
Server: test-server/fake
Content-Type: text/html
-Set-Cookie: test4=four; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
-Set-Cookie: test5=five; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2007
+Set-Cookie: test4=four; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2038
+Set-Cookie: test5=five; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2038
Content-Length: 26
run 2: set cookie 4 and 5
Server: test-server/fake\r
Content-Type: text/html\r
Funny-head: yesyes\r
-Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2007\r
-Set-Cookie: test2=yes; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2007\r
+Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 2038\r
+Set-Cookie: test2=yes; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 2038\r
Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure\r
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure\r
Set-Cookie: test5=name; domain=anything.com; path=/ ; secure\r