diff options
Diffstat (limited to 'lib/cookie.h')
-rw-r--r-- | lib/cookie.h | 21 |
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 { |