aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_clock.erl
AgeCommit message (Collapse)Author
2011-08-11Use cowboy_clock types in cowboy_cookies instead of calendarLoïc Hoguin
Until calendar exports them at least.
2011-07-26Small cosmetic changes and doc update to the cookie patchLoïc Hoguin
2011-07-26Add cowboy_cookies for cookie creation and parsingTom Burdick
Based on Mochi Media, Inc.'s work in Mochiweb. Conflicts: rebar.config
2011-07-06Add documentation for the public interface.Loïc Hoguin
This is probably not perfect yet but it should be better than nothing. We'll improve things with feedback received from the many users.
2011-06-27Add the remaining missing specsLoïc Hoguin
Found thanks to warn_missing_spec and added with the help of typer. Eunit functions do not have specs yet however.
2011-06-07Fix a binary warning in cowboy_clock.Loïc Hoguin
Just a change in the order of arguments of update_rfc1123.
2011-05-25Refresh the type specifications.Loïc Hoguin
Following discussions on #erlounge. Also fixes compilation in R14B03 and fixes a few underspecs dialyzer warnings.
2011-05-14Only try to update the Date field once every seconds.Loïc Hoguin
2011-05-14Add the required Date header in the HTTP replies.Loïc Hoguin
The formatted date is generated and kept up to date regularly by a gen_server process storing it in the cowboy_clock ets table. Then it is retrieved by other processes simply by reading the table.