aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-03-29 16:12:59 +0300
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-03-29 16:12:59 +0300
commit1498d8174e70a1b9a90faffbdaa529869633b3c1 (patch)
treef39bfa3da54b795483db2ae1cf28aafb831477b2 /strings.go
parentserver: sleep for a while after reaching the concurrency limit, so other conc... (diff)
downloadfasthttp-1498d8174e70a1b9a90faffbdaa529869633b3c1.tar.gz
fasthttp-1498d8174e70a1b9a90faffbdaa529869633b3c1.tar.bz2
fasthttp-1498d8174e70a1b9a90faffbdaa529869633b3c1.zip
Issue #73: added 'HttpOnly' and 'secure' flags support to Cookie
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/strings.go b/strings.go
index 84253f9..7090969 100644
--- a/strings.go
+++ b/strings.go
@@ -48,9 +48,11 @@ var (
strRange = []byte("Range")
strContentRange = []byte("Content-Range")
- strCookieExpires = []byte("expires")
- strCookieDomain = []byte("domain")
- strCookiePath = []byte("path")
+ strCookieExpires = []byte("expires")
+ strCookieDomain = []byte("domain")
+ strCookiePath = []byte("path")
+ strCookieHTTPOnly = []byte("HttpOnly")
+ strCookieSecure = []byte("secure")
strClose = []byte("close")
strGzip = []byte("gzip")