From c6a8bb3d5642ab674f884c535ca4955b951f2ff8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 1 Feb 2000 23:54:51 +0000 Subject: Added some RFC2109 support --- lib/cookie.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'lib/cookie.h') 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 struct Cookie { - struct Cookie *next; /* next in the chain */ - char *name; /* = value */ - char *value; /* name = */ - char *path; /* path = */ - char *domain; /* domain = */ - time_t expires; /* expires = */ - char *expirestr; /* the plain text version */ - bool secure; /* whether the 'secure' keyword was used */ + struct Cookie *next; /* next in the chain */ + char *name; /* = value */ + char *value; /* name = */ + char *path; /* path = */ + char *domain; /* domain = */ + time_t expires; /* expires = */ + char *expirestr; /* the plain text version */ + + /* RFC 2109 keywords. Version=1 means 2109-compliant cookie sending */ + char *version; /* Version = */ + char *maxage; /* Max-Age = */ + + bool secure; /* whether the 'secure' keyword was used */ }; struct CookieInfo { -- cgit v1.2.3