summaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-01-31 12:21:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-01-31 12:21:57 +0000
commita62e155ca4d9e1db640d897bfbabbd4bf865b777 (patch)
tree1a738379d6c4cc2df907d88c4533d83cb847652e /lib/cookie.h
parentb620e62f0f4e90f4d1338117c67580a6f5f37377 (diff)
downloadcurl-a62e155ca4d9e1db640d897bfbabbd4bf865b777.tar.gz
- 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.
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 7fbc72e8a..a1d107352 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -50,6 +50,7 @@ struct Cookie {
bool secure; /* whether the 'secure' keyword was used */
bool livecookie; /* updated from a server, not a stored file */
+ bool httponly; /* true if the httponly directive is present */
};
struct CookieInfo {