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_sitemodule - Add
of_cookieto parseCookieheader. - Add
of_set_cookieto parseSet-Cookieheader. This can be used by http client applications - Rename
of_cookie_headertoof_cookie,to_cookie_header_valuetoto_cookie,to_set_cookie_header_valuetoto_set_cookieto enhance API ergonomics - Add validation for cookie
domainvalue 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