aboutsummaryrefslogtreecommitdiff
path: root/cookie.go
diff options
context:
space:
mode:
authorGravatar xuecai <bluesnow1st@sina.com> 2019-02-16 18:50:14 +0800
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-02-16 10:50:14 +0000
commit10b98c2cdf73b9741b9d8eb62dda81fe315ffb8f (patch)
tree4cc9d666b2fff3e3514d2d6314e2350710e180df /cookie.go
parentAdd zero allocation guarantee tests (diff)
downloadfasthttp-10b98c2cdf73b9741b9d8eb62dda81fe315ffb8f.tar.gz
fasthttp-10b98c2cdf73b9741b9d8eb62dda81fe315ffb8f.tar.bz2
fasthttp-10b98c2cdf73b9741b9d8eb62dda81fe315ffb8f.zip
add conn's address info in Response (#537)
* reset commit * fix response copy bug; add tests;
Diffstat (limited to 'cookie.go')
-rw-r--r--cookie.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cookie.go b/cookie.go
index 1d9861d..8137643 100644
--- a/cookie.go
+++ b/cookie.go
@@ -21,6 +21,7 @@ var (
// CookieSameSite is an enum for the mode in which the SameSite flag should be set for the given cookie.
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
type CookieSameSite int
+
const (
// CookieSameSiteDisabled removes the SameSite flag
CookieSameSiteDisabled CookieSameSite = iota