Added RFC6265 compliant variant of yaws_api:set_cookie/3. #127

Merged
merged 3 commits into from Oct 7, 2012

Conversation

Projects
None yet
2 participants
Contributor

saleyn commented Oct 6, 2012

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.

saleyn added some commits Oct 6, 2012

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.
Owner

klacke commented Oct 7, 2012

Very nice, thanks

klacke added a commit that referenced this pull request Oct 7, 2012

Merge pull request #127 from saleyn/set_cookie
Added RFC6265 compliant variant of yaws_api:set_cookie/3.

@klacke klacke merged commit 1615f7d into klacke:master Oct 7, 2012

Contributor

saleyn commented Oct 7, 2012

Thanks!

jgrinstead pushed a commit to jgrinstead/yaws that referenced this pull request Apr 23, 2015

Merge pull request #127 from saleyn/set_cookie
Added RFC6265 compliant variant of yaws_api:set_cookie/3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment