Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added RFC6265 compliant variant of setcookie.
The new set_cookie/3 function implements more complete RFC2109 cookie formatting than setcookie/6 and is 10x - 15x more efficient than its old setcookie counterpart because of avoiding the use of io_lib:format/2. The setcookie/2 through setcookie/6 are marked as deprecated. The function is named set_cookie rather than setcookie to facilitate the ease of depricating the old implementation.
- Loading branch information
Showing
3 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters