http: only parse expires if non-empty.
parent
1949e4c2d9
commit
d7f9fe7600
|
@ -57,7 +57,7 @@ TUPLE: cookie name value version comment path domain expires max-age http-only s
|
|||
swap {
|
||||
{ "version" [ >>version ] }
|
||||
{ "comment" [ >>comment ] }
|
||||
{ "expires" [ cookie-string>timestamp >>expires ] }
|
||||
{ "expires" [ [ cookie-string>timestamp >>expires ] unless-empty ] }
|
||||
{ "max-age" [ string>number seconds >>max-age ] }
|
||||
{ "domain" [ >>domain ] }
|
||||
{ "path" [ >>path ] }
|
||||
|
|
Loading…
Reference in New Issue