From d60848d04bf1290f60d2d80105c79d8492d63ce8 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 2 Feb 2007 00:10:40 +0000 Subject: cookie expiration time got us with pants at our knees. Next time in 2038 :-) --- tests/data/test506 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/data/test506') diff --git a/tests/data/test506 b/tests/data/test506 index 8b3aeedf6..f8daad660 100644 --- a/tests/data/test506 +++ b/tests/data/test506 @@ -6,9 +6,9 @@ HTTP/1.1 200 OK 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 @@ -18,8 +18,8 @@ HTTP/1.1 200 OK 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 -- cgit v1.2.3