Closed guanglinlv closed 9 years ago
This is the same as https://github.com/cloudflare/lua-resty-cookie/issues/6. Using SPACE and HTAB as a separator is because RFC doesn't allow spaces in cookie value. See http://tools.ietf.org/search/rfc6265#section-4.2.1
oh,i had read and study the RFC6265#section-4.2.1,thank you for replying my questions.
local cookie = require "resty.http_cookie" local coo = cookie:new()
coo:set({key="test",value="test value"})
next request ,i use coo:get("test") ,it will return "test" not "test value";