package http-date

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

v0.2 2026-04-13

Breaking changes

  • Replace ocamllex/menhir implementation with a hand-written parser.
  • Remove ptime dependency — the library is now dependency-free (aside from ocaml and dune).
  • New t type: a polymorphic variant (IMF | RFC850 | ASCTIME) tagged by parsed format, carrying dayname * date * time.
  • decode now returns t (was Ptime.t).
  • encode now takes t (was Ptime.t * string).

Added

  • dayname, date, time, and datetime types exposed in the public API.
  • pp pretty-printer for t.
  • Validate date and time values during parsing.
  • Property-based tests with alcobar and AFL fuzz testing infrastructure.

v0.1 2023-01-05

  • Initial release supporting decoding/encoding in IMF, RFC 850 and asctime format.