diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-09-13 23:38:22 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-09-13 23:38:22 +0100 |
commit | b78e887ba097decb2fc774ab70f2bd8a671f9928 (patch) | |
tree | cb690d4dc1f9643ccb160fb1fd59e923c42c2ced /include/netsurf/cookie_db.h | |
parent | bd4377d693a8082168c618ad1da172daebcd1662 (diff) | |
download | netsurf-b78e887ba097decb2fc774ab70f2bd8a671f9928.tar.gz netsurf-b78e887ba097decb2fc774ab70f2bd8a671f9928.tar.bz2 |
Add documentation on the cookie version field
Diffstat (limited to 'include/netsurf/cookie_db.h')
-rw-r--r-- | include/netsurf/cookie_db.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netsurf/cookie_db.h b/include/netsurf/cookie_db.h index 54d014508..a5cd48991 100644 --- a/include/netsurf/cookie_db.h +++ b/include/netsurf/cookie_db.h @@ -27,6 +27,14 @@ #include <stdbool.h> #include <time.h> +/** + * Version of cookie + * + * RFC2109 and RFC2965 "HTTP State Management Mechanism" defined + * alternative versions of cookies. Nothing used them and these RFC + * are now obsoleted by RFC6265 which completely removes the + * alternative versions. + */ enum cookie_version { COOKIE_NETSCAPE = 0, COOKIE_RFC2109 = 1, |