aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_clock.erl
AgeCommit message (Collapse)Author
2012-08-27Update behaviours for R15B+Loïc Hoguin
This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record.
2012-08-27Have only one -export and -export_type per lineLoïc Hoguin
This should make easier spotting additions and removals in commits.
2012-05-23Update version to 0.6.00.6.0Loïc Hoguin
Also update the CHANGELOG and copyright years.
2012-03-09Fix issue #157 relating to daylight savings time.Magnus Klaar
2011-12-26Use calendar date and time types exported since R14B04Loïc Hoguin
Removes the cowboy_clock:date/0, time/0 and datetime/0 exported types.
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.