Releases: mirage/ocaml-cohttp
Releases · mirage/ocaml-cohttp
6.0.0
CHANGES:
- bump minimum dune version to 3.8 (@avsm)
- cohttp-eio: Use system authenticator in example.
- http, cohttp: remove the scheme field from requests. This means that
[Request.uri] no longer returns the same URI as was to create the request
with [Request.make] (@rgrinberg 1086) - cohttp-eio: Remove unused
Client_intf
module (talex5 #1081) - cohttp-eio: Make server response type abstract and allow streaming in cohttp-eio (talex5 #1024)
- cohttp-{lwt,eio}: server: add connection header to response if not present (ushitora-anqou #1025)
- cohttp-curl: Curl no longer prepends the first HTTP request header to the output. (jonahbeckford #1030, #987)
- cohttp-eio: client: use permissive argument type for make_generic
- cohttp-eio: Improve error handling in example server (talex5 #1023)
- cohttp-eio: Don't blow up
Server.callback
on client disconnections. (mefyl #1015) - http: Fix assertion in
Source.to_string_trim
whenpos <> 0
(mefyl #1017) - cohttp:
Cohttp.Request.make_for_client
no longer allows setting both
~chunked:true
and~body_length
. - cohttp-lwt-unix: Don't blow up when certificates are not available and no-network requests are made. (akuhlens #1027)
- Makes
cohttp-lwt.S.default_ctx
lazy.
- Makes
6.0.0~beta2
5.3.1
6.0.0~beta1 (2023-10-27)
6.0.0~alpha2
CHANGES:
- cohttp-lwt: Do not leak exceptions to
Lwt.async_exception_hook
. (mefyl #992, #995) - http.header, cohttp, cohttp-eio: remove "first" and "move_to_first" and the special treatment of the "host" header (mseri #988, #986)
- http.header: introduce "iter_ord" to guarantee iteration following the order of the entries in the headers (mseri #986)
- do not omit mandatory null Content-Length headers (mefyl #985)
- cohttp-async, cohttp-curl-async: compatibility with core/async v0.16.0 (mseri, dkalinichenko-js #976)
- cohttp-lwt server: call conn_closed before drainig the body of response on error (pirbo #982)
- cohttp-eio: Relax socket interface requirement on
Server.connection_handler
. (mefyl #983)
5.3.0
4.1.2
5.2.0
v2.5.8: compatiblity with async v0.16
v2.5.8: async v0.16
6.0.0~alpha1
CHANGES:
- cohttp,cohttp-async server: correctly close broken streams (reported by Stéphane Glondu, fix by samhot and anuragsoni)
- cohttp-eio: remove unused code from tests to work with Eio 0.8 (talex5 #967)
- Upgrade dune to v3.0 (bikallem #947)
- cohttp-eio: allow client to optionally configure request pipelining (bikallem #949)
- cohttp-eio: update to Eio 0.7 (talex5 #952)
- cohttp-eio: update examples to use eio 0.7 primitives (bikallem #957)
- cohttp-eio: generate Date header in responses (bikallem #955)
- cohttp-eio: further improve Cohttp_eio.Client ergonomics (bikallem #?)
- cohttp-eio: server api improvements (bikallem #962)