package http-cookie
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=4c02689804446e1240de8eb3fe9344ca256aab5aa7143516c086553006b6c6d6
sha512=0a9f26e2ed68c9d3596212ad091d98cefb0c41292dc1dd7e27cb6e3da5994e420f3ccbf528ee07c4cc42d220d942c9ffaa70dd9d213ec8cf94241315b2d821bc
CHANGES.md.html
v4.0.0 2021-08-16
[BREAKING-CHANGE] remove module
Same_site
. Usesame_site
type instead.[New] introduce type
same_site
to replaceSame_site
module and to better conform to RFC 6265.[New] add
of_cookie
features an angstrom parser to parse 'Cookie' header value as specified by RFC 6265.[New] add
pp
,pp_date_time
andpp_same_site
pretty prints typet
,date_time
andsame_site
respectively. Useful for debugging pruposes.[New] add
date_time
function to create validdate_time
value.[BREAKING-CHANGE] make
date_time
type abstract[BREAKING-CHANGE]
to_set_cookie_header_value
has been removed. Useto_set_cookie
instead.[BREAKING-CHANGE]
to_cookie_header_value
has been removed. Useto_cookie
instead.[BREAKING-CHANGE]
of_cookie_header
has been removed, Useof_cookie
instead.[BREAKING-CHANGE] remove
Cookie
exception. The library is now exception less, i.e. usesresult
type to denote error scenarios.[New] add
of_set_cookie
to parse HTTPSet-Cookie
headerAdd expect tests
v3.1.0 2021-08-11
Add
update_*
functions.
v3.0.0 2020-24-12 UK
Backwards incompatible change: remove
base-unix
dependency. Uses owndate_time
instead ofUnix.tm
.
v2.0.0 2020-09-09 UK
Rewrite library by removing almost all ppx and external libraries
Rename package to
http-cookie
fromcookies
.Make the
Http_cookie
the topmost module.Change code formatting to
janestreet
Document API, generate docs and host it.
v1.0.1 2020-09-09 UK
Add compare function
v1.0.0 2020-08-01 UK
First release.