summaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-02-01 23:54:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-02-01 23:54:51 +0000
commitc6a8bb3d5642ab674f884c535ca4955b951f2ff8 (patch)
tree439be1638897516f4378b1706f6ccdb9a82f7330 /lib/cookie.h
parent0bc8d2ea1f3e40c1d943849491b9479c01c150ef (diff)
downloadcurl-c6a8bb3d5642ab674f884c535ca4955b951f2ff8.tar.gz
Added some RFC2109 support
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 466844a5d..b0142cc8c 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -11,14 +11,19 @@
#include <curl/curl.h>
struct Cookie {
- struct Cookie *next; /* next in the chain */
- char *name; /* <this> = value */
- char *value; /* name = <this> */
- char *path; /* path = <this> */
- char *domain; /* domain = <this> */
- time_t expires; /* expires = <this> */
- char *expirestr; /* the plain text version */
- bool secure; /* whether the 'secure' keyword was used */
+ struct Cookie *next; /* next in the chain */
+ char *name; /* <this> = value */
+ char *value; /* name = <this> */
+ char *path; /* path = <this> */
+ char *domain; /* domain = <this> */
+ time_t expires; /* expires = <this> */
+ char *expirestr; /* the plain text version */
+
+ /* RFC 2109 keywords. Version=1 means 2109-compliant cookie sending */
+ char *version; /* Version = <value> */
+ char *maxage; /* Max-Age = <value> */
+
+ bool secure; /* whether the 'secure' keyword was used */
};
struct CookieInfo {