▼cookie の使い方 parse_cookie/1 cookie/3 @spec cookie(Key::string(), Value::string(), Options::[Option]) -> header() where Option = {max_age, integer()} | {local_time, {date(), time()}} | {domain, string()} | {path, string()} | {secure, true | false} 下記がかえってくる {"Set-Cookie", lists:flatten(CookieParts)}. CookieParts は [Cookie, ExpiresPart, SecurePart, DomainPart, PathPart] 戻り値は、ヘッダの断片なので、Req:ok の第二引数