diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2016-03-29 16:12:59 +0300 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-03-29 16:12:59 +0300 |
commit | 1498d8174e70a1b9a90faffbdaa529869633b3c1 (patch) | |
tree | f39bfa3da54b795483db2ae1cf28aafb831477b2 /strings.go | |
parent | server: sleep for a while after reaching the concurrency limit, so other conc... (diff) | |
download | fasthttp-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.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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") |