[new release] http, cohttp, cohttp-top, cohttp-server-lwt-unix, cohttp-mirage, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo, cohttp-eio, cohttp-curl, cohttp-curl-lwt, cohttp-curl-async, cohttp-bench and cohttp-async (6.0.0~alpha0) #22351
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cohttp is an OCaml library for creating HTTP daemons. It has a portable HTTP parser, and implementations using various asynchronous programming libraries:
Lunks:
dune build @doc
CHANGES:
in servers.
compatibility with cohttp - and no dependencies (rgrinberg feature: introduce http package mirage/ocaml-cohttp#812)
refactor: stop relying on name mangling mirage/ocaml-cohttp#797)
in addition to the request when deciding on whether to keep a connection
alive (anuragsoni, http: Consider the user provided response when considering connection keep-alive mirage/ocaml-cohttp#843)
will also be considered in addition to the connection header in requests
when deciding whether to use keep-alive. This allows a handler to decide to
close a connection even if the client requested a keep-alive in the
request.
Cohttp_async.Server.Expert.create
andCohttp_async.Server.Expert.create_with_response_action
that can be used tocreate a server without going through Conduit. This allows creating an
async TCP server using the Tcp module from
Async_unix
and lets the userhave more control over how the
Reader.t
andWriter.t
are created.to_lines
andto_frames
implementation (mseri bench(http): optimize to_frames and to_lines functions mirage/ocaml-cohttp#847)set-cookies
(mseri Cookies: case-insensitive check of set-cookies mirage/ocaml-cohttp#858)more flexible API
\r\n
endings.Previously, the
\r
was optional. (rgrinberg, fix: require \r\n in all parsers mirage/ocaml-cohttp#921)cohttp-lwt-jsoo
: do not instantiateXMLHttpRequest
object on boot (mefyl Do not systematically create a XMLHttpRequest object. mirage/ocaml-cohttp#922)