Add documentation on the cookie version field
This commit is contained in:
parent
bd4377d693
commit
b78e887ba0
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue