summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-09-13 22:38:22 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-09-13 22:38:22 (GMT)
commitb78e887ba097decb2fc774ab70f2bd8a671f9928 (patch)
treecb690d4dc1f9643ccb160fb1fd59e923c42c2ced
parentbd4377d693a8082168c618ad1da172daebcd1662 (diff)
downloadnetsurf-b78e887ba097decb2fc774ab70f2bd8a671f9928.tar.gz
netsurf-b78e887ba097decb2fc774ab70f2bd8a671f9928.tar.bz2
Add documentation on the cookie version field
-rw-r--r--include/netsurf/cookie_db.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netsurf/cookie_db.h b/include/netsurf/cookie_db.h
index 54d0145..a5cd489 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,