Dear OCamlers,
I am pleased to announce v4.* series release of http-cookie
. The v4 release contains many new enhancements to make working with cookies in OCaml web applications a little bit easier.
v4.. release series features the following additions and changes:
- Add pretty printers -
pp, pp_date_time and pp_same_site
. These can be used during debugging and in a OCaml toplevel session - Flatten out
Same_site
module - Add
of_cookie
to parseCookie
header. - Add
of_set_cookie
to parseSet-Cookie
header. This can be used by http client applications - Rename
of_cookie_header
toof_cookie
,to_cookie_header_value
toto_cookie
,to_set_cookie_header_value
toto_set_cookie
to enhance API ergonomics - Add validation for cookie
domain
value which consists of - host name, IPv4 and IPv6 - to conform to their respective RFC specs - Domain name RFC(RFC 1034), RFC 1123 and draft IPv4 and IPv6 RFCs. - Improve documentation
Enjoy!
Bikal