cgi
cgi copied to clipboard
Add `Max-Age` attribute
I wonder if there are any plans to implement Max-Age attribute support. We need to parse it and return via max_age method.
Indicates the number of seconds until the cookie expires. A zero or negative number will expire the cookie immediately. If both Expires and Max-Age are set, Max-Age has precedence.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie#max-agenumber