Skip to content

Commit

Permalink
Fixed syntax for cookie expiration date
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed Mar 21, 2019
1 parent 88396e3 commit f8b7487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/reserved/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ class Output
c.expire.hour, c.expire.minute, c.expire.second
);

_socket.send(format("; Expires: %s", data));
_socket.send(format("; Expires=%s", data));
}

if (!c.path.length == 0) _socket.send(format("; path=%s", c.path));
Expand Down

0 comments on commit f8b7487

Please sign in to comment.