http: only parse expires if non-empty.

John Benediktsson 2012-07-27 13:46:45 -07:00
parent 567bbad2fe
commit 7ce64bb7db
1 changed files with 1 additions and 1 deletions

View File

@ -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 ] }