summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 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,