mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 02:47:04 +00:00
fix tests
This commit is contained in:
@@ -755,7 +755,7 @@ func (ctx *Context) RemoveCookie(name string) {
|
|||||||
cookie.SetExpire(exp)
|
cookie.SetExpire(exp)
|
||||||
ctx.Response.Header.SetCookie(cookie)
|
ctx.Response.Header.SetCookie(cookie)
|
||||||
fasthttp.ReleaseCookie(cookie)
|
fasthttp.ReleaseCookie(cookie)
|
||||||
// delete respone's cookie also, which is temporarly available
|
// delete request's cookie also, which is temporarly available
|
||||||
ctx.Request.Header.DelCookie(name)
|
ctx.Request.Header.DelCookie(name)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user