aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test61
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-05-10 18:02:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-05-10 18:02:37 +0000
commitc0b5d378dc84ba7fc89bf16f9a92bf9bd32943de (patch)
tree35b88016b8aaa0c047741de730390c4f364c3e48 /tests/data/test61
parentb8c438f22d2a79332ac4a6cd8d4fba6e8a35a29a (diff)
made the cookie tests 61 and 62 test httponly cookies, both receiving in
headers and reading from cookie-jar
Diffstat (limited to 'tests/data/test61')
-rw-r--r--tests/data/test615
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/data/test61 b/tests/data/test61
index 06c087881..f2a6a4ee7 100644
--- a/tests/data/test61
+++ b/tests/data/test61
@@ -6,6 +6,7 @@ HTTP GET
cookies
cookiejar
HTTP replaced headers
+httponly
</keywords>
</info>
# Server-side
@@ -16,7 +17,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
-Set-Cookie: test=yes; domain=foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
+Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
SET-COOKIE: test2=yes; domain=host.foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
@@ -62,7 +63,7 @@ Host: www.host.foo.com
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
-.foo.com TRUE /we/want/ FALSE 2054030187 test yes
+#HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
.host.foo.com TRUE /we/want/ FALSE 2054030187 test2 yes
.foo.com TRUE /moo TRUE 0 test3 maybe
</file>