mirror of
https://github.com/soypat/lneto.git
synced 2026-09-01 20:39:11 +00:00
rewrite Cookie with KVBuffer
This commit is contained in:
@@ -62,7 +62,7 @@ func TestHeaderParseRequest(t *testing.T) {
|
||||
}
|
||||
var c Cookie
|
||||
cookie := hdr.Get("Cookie")
|
||||
c.Reset(cookie)
|
||||
c.Reset(cookie, 0)
|
||||
err = c.Parse()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
||||
Reference in New Issue
Block a user