diff options
author | Loïc Hoguin <[email protected]> | 2014-12-16 17:29:24 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-12-16 17:36:25 +0200 |
commit | e5cbfe3563543ef67ec4c45ffe0d9b0898a868eb (patch) | |
tree | 43fff72593c7245d76fb3cca2e2dfb51e9028d0b /src/cow_cookie.erl | |
parent | a5c1a88378596b5efdd9ed40ebcc78f24844f1ed (diff) | |
download | cowlib-e5cbfe3563543ef67ec4c45ffe0d9b0898a868eb.tar.gz cowlib-e5cbfe3563543ef67ec4c45ffe0d9b0898a868eb.tar.bz2 cowlib-e5cbfe3563543ef67ec4c45ffe0d9b0898a868eb.zip |
Add cow_http_hd:parse_if_modified_since/1
From RFC7231 and RFC7232.
The new code is faster than the one in Cowboy: 2 times faster
for fixdate format, 2.5 times faster for rfc850 format and 3+
times faster for asctime format.
Unlike previous code, there is no parsing speed difference
between the 3 different date formats.
Diffstat (limited to 'src/cow_cookie.erl')
0 files changed, 0 insertions, 0 deletions