aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar David Byttow <david.byttow@postmates.com> 2018-09-13 00:19:38 -0400
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2018-09-13 12:19:38 +0800
commitdbc9965d336c112cb19c4ba167e1d6b6ce7ab092 (patch)
treeebbbdb1ba3c211e9bb38ca0c4ca4c89f3573aab3 /strings.go
parentuse proper "Deprecated" comment format (diff)
downloadfasthttp-dbc9965d336c112cb19c4ba167e1d6b6ce7ab092.tar.gz
fasthttp-dbc9965d336c112cb19c4ba167e1d6b6ce7ab092.tar.bz2
fasthttp-dbc9965d336c112cb19c4ba167e1d6b6ce7ab092.zip
Adds support for max-age cookie value. Fixes #184 (#412)
Adds support for max-age cookie value
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/strings.go b/strings.go
index 7b7e53e..afd70b4 100644
--- a/strings.go
+++ b/strings.go
@@ -58,6 +58,7 @@ var (
strCookiePath = []byte("path")
strCookieHTTPOnly = []byte("HttpOnly")
strCookieSecure = []byte("secure")
+ strCookieMaxAge = []byte("max-age")
strClose = []byte("close")
strGzip = []byte("gzip")