diff options
author | Loïc Hoguin <[email protected]> | 2011-05-14 15:20:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-05-14 15:20:12 +0200 |
commit | 95006c3291fb4e359b09cd9b3986ba425484c9e9 (patch) | |
tree | 10206f82aa8101ce5482b79797e1c8f96a8e0b1c /test/chunked_handler.erl | |
parent | 5d698250b228229001ca9966a390bf1545fcd0b0 (diff) | |
download | cowboy-95006c3291fb4e359b09cd9b3986ba425484c9e9.tar.gz cowboy-95006c3291fb4e359b09cd9b3986ba425484c9e9.tar.bz2 cowboy-95006c3291fb4e359b09cd9b3986ba425484c9e9.zip |
Add the required Date header in the HTTP replies.
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.
Diffstat (limited to 'test/chunked_handler.erl')
0 files changed, 0 insertions, 0 deletions