An OCaml library for HTTP clients and servers using Lwt or Async
Ocaml-cohttp is an OCaml library for creating HTTP clients and servers with support for multiple asynchronous programming backends. The project provides a portable HTTP parser and implementations built on Lwt, Async, libcurl, eio, and other libraries, with specialized modules like `Cohttp_lwt_unix` for UNIX bindings, `Cohttp_async` for the Async library, `Cohttp_lwt_jsoo` for JavaScript compilation, and `Cohttp_eio` for multicore OCaml 5.0. The library is maintained by the Mirage project and handles HTTPS connections through backends like ocaml-tls and async_ssl, while also supporting features such as custom resolvers, redirect handling, timeouts, and proxy configuration.