Skip to content

Commit 25a4517

Browse files
committed
[new release] cohttp-lwt-unix-nossl, cohttp-lwt-jsoo, cohttp, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-unix-ssl, cohttp-top, cohttp-async and cohttp-mirage (3.0.0)
CHANGES: - cohttp: update HTTP codes (@emillon mirage/ocaml-cohttp#711) - cohttp: add Uti.t to uri scheme (@brendanlong mirage/ocaml-cohttp#707) - cohttp: fix chunked encoding of empty body (@mefyl mirage/ocaml-cohttp#715) - cohttp-async: fix body not being uploaded with unchunked Async.Pipe (@mefyl mirage/ocaml-cohttp#706) - cohttp-{async, lwt}: fix suprising behaviours of Body.is_empty (@anuragsoni mirage/ocaml-cohttp#714 mirage/ocaml-cohttp#712 mirage/ocaml-cohttp#713) - port to conduit 3.0.0: minor breaking changes on the server API, an explicit distinction between cohttp-lwt-unix (using tls), cohttp-lwt-notls and cohttp-lwt-ssl (using lwt_ssl), and includes ssl in cohttp-async (@dinosaure mirage/ocaml-cohttp#692) - cohttp-lwt-jsoo: rename Cohttp_lwt_xhr to Cohttp_lwt_jsoo for consistency (@mseri mirage/ocaml-cohttp#717) - refactoring of tests (@mseri mirage/ocaml-cohttp#709, @dinosaure mirage/ocaml-cohttp#692) - update documentation (@dinosaure mirage/ocaml-cohttp#716, @mseri mirage/ocaml-cohttp#720) - cohttp: fix transfer-encoding ordering in headers (@mseri mirage/ocaml-cohttp#721) - lower-level support for long-running cohttp-async connections (@brendanlong mirage/ocaml-cohttp#704) - fix deadlock in logging (@dinosaure mirage/ocaml-cohttp#722) - add of_form and to_form functions to body (@seliopou mirage/ocaml-cohttp#440, @mseri mirage/ocaml-cohttp#723) - cohttp-lwt: partly inline read_response, fix body stream leak (@madroach @dinosaure mirage/ocaml-cohttp#696) - improve media type parsing (@seliopou mirage/ocaml-cohttp#542, @dinosaure mirage/ocaml-cohttp#725) - add comparison functions for Request.t and Response.t via ppx_compare (@msaffer-js @dinosaure mirage/ocaml-cohttp#686)
1 parent c22ac2e commit 25a4517

File tree

9 files changed

+485
-0
lines changed
  • packages
    • cohttp-async/cohttp-async.3.0.0
    • cohttp-lwt-jsoo/cohttp-lwt-jsoo.3.0.0
    • cohttp-lwt-unix-nossl/cohttp-lwt-unix-nossl.3.0.0
    • cohttp-lwt-unix-ssl/cohttp-lwt-unix-ssl.3.0.0
    • cohttp-lwt-unix/cohttp-lwt-unix.3.0.0
    • cohttp-lwt/cohttp-lwt.3.0.0
    • cohttp-mirage/cohttp-mirage.3.0.0
    • cohttp-top/cohttp-top.3.0.0
    • cohttp/cohttp.3.0.0

9 files changed

+485
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for the Async concurrency library"
13+
description: """
14+
An implementation of an HTTP client and server using the Async
15+
concurrency library. See the `Cohttp_async` module for information
16+
on how to use this. The package also installs `cohttp-curl-async`
17+
and a `cohttp-server-async` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
"""
20+
license: "ISC"
21+
tags: ["org:mirage" "org:xapi-project"]
22+
homepage: "https://github.com/mirage/ocaml-cohttp"
23+
doc: "https://mirage.github.io/ocaml-cohttp/"
24+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
25+
depends: [
26+
"ocaml" {>= "4.04.1"}
27+
"dune" {>= "1.1.0"}
28+
"async_kernel" {>= "v0.14.0"}
29+
"async_unix" {>= "v0.14.0"}
30+
"async" {>= "v0.14.0"}
31+
"base" {>= "v0.11.0"}
32+
"core" {with-test}
33+
"cohttp" {=version}
34+
"conduit-async" {>="3.0.0"}
35+
"conduit-async-ssl"
36+
"magic-mime"
37+
"logs"
38+
"fmt" {>= "0.8.2"}
39+
"sexplib0"
40+
"stdlib-shims"
41+
"ppx_sexp_conv" {>= "v0.13.0"}
42+
"ounit" {with-test}
43+
"uri" {>= "2.0.0"}
44+
"uri-sexp"
45+
"ipaddr"
46+
]
47+
build: [
48+
["dune" "subst"] {pinned}
49+
["dune" "build" "-p" name "-j" jobs]
50+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
51+
]
52+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
53+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
57+
checksum: [
58+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
59+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
60+
]
61+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for the Js_of_ocaml JavaScript compiler"
13+
description: """
14+
An implementation of an HTTP client for JavaScript, but using the
15+
CoHTTP types. This lets you build HTTP clients that can compile
16+
natively (using one of the other Cohttp backends such as `cohttp-lwt-unix`)
17+
and also to native JavaScript via js_of_ocaml.
18+
"""
19+
license: "ISC"
20+
tags: ["org:mirage" "org:xapi-project"]
21+
homepage: "https://github.com/mirage/ocaml-cohttp"
22+
doc: "https://mirage.github.io/ocaml-cohttp/"
23+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
24+
depends: [
25+
"ocaml" {>= "4.04.1"}
26+
"dune" {>= "1.1.0"}
27+
"cohttp" {=version}
28+
"cohttp-lwt" {=version}
29+
"lwt" {>= "3.0.0"}
30+
"js_of_ocaml" {>= "3.3.0"}
31+
"js_of_ocaml-ppx" {>= "3.3.0"}
32+
"js_of_ocaml-lwt" {>= "3.5.0"}
33+
]
34+
build: [
35+
["dune" "subst"] {pinned}
36+
["dune" "build" "-p" name "-j" jobs]
37+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
38+
]
39+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
40+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
41+
url {
42+
src:
43+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
44+
checksum: [
45+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
46+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
47+
]
48+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
13+
description: """
14+
An implementation of an HTTP client and server using the Lwt
15+
concurrency library. See the `Cohttp_lwt_unix` module for information
16+
on how to use this. The package also installs `cohttp-curl-lwt`
17+
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
20+
Although the name implies that this only works under Unix, it
21+
should also be fine under Windows too."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.04.1"}
29+
"dune" {>= "1.1.0"}
30+
"conduit-lwt" {>= "3.0.0"}
31+
"ca-certs"
32+
"cmdliner"
33+
"magic-mime"
34+
"logs"
35+
"fmt" {>= "0.8.2"}
36+
"cohttp-lwt" {=version}
37+
"lwt" {>= "3.0.0"}
38+
"base-unix"
39+
"ounit" {with-test}
40+
]
41+
build: [
42+
["dune" "subst"] {pinned}
43+
["dune" "build" "-p" name "-j" jobs]
44+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
45+
]
46+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
47+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
48+
url {
49+
src:
50+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
51+
checksum: [
52+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
53+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
54+
]
55+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
13+
description: """
14+
An implementation of an HTTP client and server using the Lwt
15+
concurrency library. See the `Cohttp_lwt_unix` module for information
16+
on how to use this. The package also installs `cohttp-curl-lwt`
17+
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
20+
Although the name implies that this only works under Unix, it
21+
should also be fine under Windows too."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.04.1"}
29+
"dune" {>= "1.1.0"}
30+
"conduit-lwt" {>= "3.0.0"}
31+
"conduit-lwt-ssl"
32+
"ca-certs"
33+
"cmdliner"
34+
"magic-mime"
35+
"logs"
36+
"fmt" {>= "0.8.2"}
37+
"cohttp-lwt" {=version}
38+
"cohttp-lwt-unix-nossl" {=version}
39+
"lwt" {>= "3.0.0"}
40+
"base-unix"
41+
"ounit" {with-test}
42+
]
43+
build: [
44+
["dune" "subst"] {pinned}
45+
["dune" "build" "-p" name "-j" jobs]
46+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
47+
]
48+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
49+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
50+
url {
51+
src:
52+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
53+
checksum: [
54+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
55+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
56+
]
57+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
13+
description: """
14+
An implementation of an HTTP client and server using the Lwt
15+
concurrency library. See the `Cohttp_lwt_unix` module for information
16+
on how to use this. The package also installs `cohttp-curl-lwt`
17+
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
20+
Although the name implies that this only works under Unix, it
21+
should also be fine under Windows too."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.04.1"}
29+
"dune" {>= "1.1.0"}
30+
"conduit-lwt" {>= "3.0.0"}
31+
"conduit-lwt-tls"
32+
"ca-certs"
33+
"cmdliner"
34+
"magic-mime"
35+
"logs"
36+
"fmt" {>= "0.8.2"}
37+
"cohttp-lwt" {=version}
38+
"cohttp-lwt-unix-nossl" {=version}
39+
"lwt" {>= "3.0.0"}
40+
"base-unix"
41+
"ounit" {with-test}
42+
]
43+
build: [
44+
["dune" "subst"] {pinned}
45+
["dune" "build" "-p" name "-j" jobs]
46+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
47+
]
48+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
49+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
50+
url {
51+
src:
52+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
53+
checksum: [
54+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
55+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
56+
]
57+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation using the Lwt concurrency library"
13+
description: """
14+
This is a portable implementation of HTTP that uses the Lwt
15+
concurrency library to multiplex IO. It implements as much of the
16+
logic in an OS-independent way as possible, so that more specialised
17+
modules can be tailored for different targets. For example, you
18+
can install `cohttp-lwt-unix` or `cohttp-lwt-jsoo` for a Unix or
19+
JavaScript backend, or `cohttp-mirage` for the MirageOS unikernel
20+
version of the library. All of these implementations share the same
21+
IO logic from this module."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.04.1"}
29+
"dune" {>= "1.1.0"}
30+
"cohttp" {=version}
31+
"lwt" {>= "2.5.0"}
32+
"sexplib0"
33+
"ppx_sexp_conv" {>= "v0.13.0"}
34+
"logs"
35+
]
36+
build: [
37+
["dune" "subst"] {pinned}
38+
["dune" "build" "-p" name "-j" jobs]
39+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
40+
]
41+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
42+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
43+
url {
44+
src:
45+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
46+
checksum: [
47+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
48+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
49+
]
50+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"]
4+
license: "ISC"
5+
tags: ["org:mirage" "org:xapi-project"]
6+
homepage: "https://github.com/mirage/ocaml-cohttp"
7+
doc: "https://mirage.github.io/ocaml-cohttp/"
8+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
9+
synopsis: "CoHTTP implementation for the MirageOS unikernel"
10+
description: """
11+
This HTTP implementation uses the Cohttp portable implementaiton
12+
along with the Lwt threading library in order to provide a
13+
`Cohttp_mirage` functor that can be used in MirageOS unikernels
14+
to build very small and efficient HTTP clients and servers
15+
without having a hard dependency on an underlying operating
16+
system.
17+
18+
Please see <https://mirage.io> for a self-hosted explanation
19+
and instructions on how to use this library."""
20+
depends: [
21+
"ocaml" {>= "4.05.0"}
22+
"dune" {>= "1.1.0"}
23+
"mirage-flow" {>= "2.0.0"}
24+
"mirage-channel" {>= "4.0.0"}
25+
"conduit" {>= "2.0.2"}
26+
"conduit-mirage" {>= "3.0.0"}
27+
"mirage-kv" {>= "3.0.0"}
28+
"lwt" {>= "2.4.3"}
29+
"cohttp"
30+
"cohttp-lwt"
31+
"astring"
32+
"magic-mime"
33+
]
34+
build: [
35+
["dune" "subst"] {pinned}
36+
["dune" "build" "-p" name "-j" jobs]
37+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
38+
]
39+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
40+
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f"
41+
url {
42+
src:
43+
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz"
44+
checksum: [
45+
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4"
46+
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34"
47+
]
48+
}

0 commit comments

Comments
 (0)