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
Set-Cookieheader. This can be used by http client applications
to_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