From cfff82ea32b82b233f2613baa88a8bf067c56296 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Sat, 17 Oct 2020 14:47:44 +0200 Subject: [PATCH 1/2] Simplify cohttp-lwt-jsoo I was trying to use the package and found rather confusing that one does not use Cohttp_lwt_jsoo and instead uses Cohttp_lwt_xhr. The documentation already makes it clear that the module uses an XHR request, so I don't really see the need for this discrepancy. Signed-off-by: Marcello Seri --- cohttp-lwt-jsoo/src/{cohttp_lwt_xhr.ml => cohttp_lwt_jsoo.ml} | 0 cohttp-lwt-jsoo/src/{cohttp_lwt_xhr.mli => cohttp_lwt_jsoo.mli} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename cohttp-lwt-jsoo/src/{cohttp_lwt_xhr.ml => cohttp_lwt_jsoo.ml} (100%) rename cohttp-lwt-jsoo/src/{cohttp_lwt_xhr.mli => cohttp_lwt_jsoo.mli} (100%) diff --git a/cohttp-lwt-jsoo/src/cohttp_lwt_xhr.ml b/cohttp-lwt-jsoo/src/cohttp_lwt_jsoo.ml similarity index 100% rename from cohttp-lwt-jsoo/src/cohttp_lwt_xhr.ml rename to cohttp-lwt-jsoo/src/cohttp_lwt_jsoo.ml diff --git a/cohttp-lwt-jsoo/src/cohttp_lwt_xhr.mli b/cohttp-lwt-jsoo/src/cohttp_lwt_jsoo.mli similarity index 100% rename from cohttp-lwt-jsoo/src/cohttp_lwt_xhr.mli rename to cohttp-lwt-jsoo/src/cohttp_lwt_jsoo.mli From 06f1cb3d0162261f274aba3b1b09bafeff4fee5c Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Thu, 22 Oct 2020 11:03:51 +0200 Subject: [PATCH 2/2] CHANGES: update with all the changes since last release Signed-off-by: Marcello Seri --- CHANGES.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index b5a876711b..d8ea1f9543 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,14 @@ +## current + +- cohttp: update HTTP codes (@emillon #711) +- cohttp: add Uti.t to uri scheme (@brendanlong #707) +- cohttp: fix chunked encoding of empty body (@mefyl #715) +- cohttp-async: fix body not being uploaded with unchunked Async.Pipe (@mefyl #706) +- cohttp-{async, lwt}: fix suprising behaviours of Body.is_empty (@anuragsoni #714 #712 #713) +- port to conduit 3.0.0 and documentation update, includes minor breaking changes on the API and the distinction between cohttp-lwt-unix (using tls), cohttp-lwt-notls and cohttp-lwt-ssl (using lwt_ssl) (@dinosaure #692 #716) +- cohttp-lwt-jsoo: rename Cohttp_lwt_xhr to Cohttp_lwt_jsoo for consistency (@mseri #717) +- refactoring of tests (@mseri #709, @dinosaure #692) + ## v2.5.4 (2020-07-21) - cohttp: a change in #694 modified the semantics of Header.replace.