mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
handle #2309
This commit is contained in:
@@ -515,6 +515,15 @@ var (
|
||||
// A shortcut of the `cache#Cache304`.
|
||||
Cache304 = cache.Cache304
|
||||
|
||||
// CookieOverride is a CookieOption which overrides the cookie explicitly to the given "cookie".
|
||||
//
|
||||
// A shortcut for the `context#CookieOverride`.
|
||||
CookieOverride = context.CookieOverride
|
||||
// CookieDomain is a CookieOption which sets the cookie's Domain field.
|
||||
// If empty then the current domain is used.
|
||||
//
|
||||
// A shortcut for the `context#CookieDomain`.
|
||||
CookieDomain = context.CookieDomain
|
||||
// CookieAllowReclaim accepts the Context itself.
|
||||
// If set it will add the cookie to (on `CookieSet`, `CookieSetKV`, `CookieUpsert`)
|
||||
// or remove the cookie from (on `CookieRemove`) the Request object too.
|
||||
|
||||
Reference in New Issue
Block a user