Skip to content

Commit 19bee80

Browse files
mserinberth
authored andcommitted
[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 and cohttp-async (6.0.0~alpha2)
CHANGES: - cohttp-lwt: Do not leak exceptions to `Lwt.async_exception_hook`. (mefyl mirage/ocaml-cohttp#992, mirage/ocaml-cohttp#995) - http.header, cohttp, cohttp-eio: remove "first" and "move_to_first" and the special treatment of the "host" header (mseri mirage/ocaml-cohttp#988, mirage/ocaml-cohttp#986) - http.header: introduce "iter_ord" to guarantee iteration following the order of the entries in the headers (mseri mirage/ocaml-cohttp#986) - do not omit mandatory null Content-Length headers (mefyl mirage/ocaml-cohttp#985) - cohttp-async, cohttp-curl-async: compatibility with core/async v0.16.0 (mseri, dkalinichenko-js mirage/ocaml-cohttp#976) - cohttp-lwt server: call conn_closed before drainig the body of response on error (pirbo mirage/ocaml-cohttp#982) - cohttp-eio: Relax socket interface requirement on `Server.connection_handler`. (mefyl mirage/ocaml-cohttp#983)
1 parent 858a2b6 commit 19bee80

File tree

13 files changed

+802
-0
lines changed
  • packages
    • cohttp/cohttp.6.0.0~alpha2
    • cohttp-async/cohttp-async.6.0.0~alpha2
    • cohttp-curl/cohttp-curl.6.0.0~alpha2
    • cohttp-curl-async/cohttp-curl-async.6.0.0~alpha2
    • cohttp-curl-lwt/cohttp-curl-lwt.6.0.0~alpha2
    • cohttp-eio/cohttp-eio.6.0.0~alpha2
    • cohttp-lwt/cohttp-lwt.6.0.0~alpha2
    • cohttp-lwt-jsoo/cohttp-lwt-jsoo.6.0.0~alpha2
    • cohttp-lwt-unix/cohttp-lwt-unix.6.0.0~alpha2
    • cohttp-mirage/cohttp-mirage.6.0.0~alpha2
    • cohttp-server-lwt-unix/cohttp-server-lwt-unix.6.0.0~alpha2
    • cohttp-top/cohttp-top.6.0.0~alpha2
    • http/http.6.0.0~alpha2

13 files changed

+802
-0
lines changed

Diff for: packages/cohttp-async/cohttp-async.6.0.0~alpha2/opam

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
opam-version: "2.0"
2+
synopsis: "CoHTTP implementation for the Async concurrency library"
3+
description: """
4+
An implementation of an HTTP client and server using the Async
5+
concurrency library. See the `Cohttp_async` module for information
6+
on how to use this. The package also installs `cohttp-curl-async`
7+
and a `cohttp-server-async` binaries for quick uses of a HTTP(S)
8+
client and server respectively.
9+
"""
10+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
11+
authors: [
12+
"Anil Madhavapeddy"
13+
"Stefano Zacchiroli"
14+
"David Sheets"
15+
"Thomas Gazagnaire"
16+
"David Scott"
17+
"Rudi Grinberg"
18+
"Andy Ray"
19+
"Anurag Soni"
20+
]
21+
license: "ISC"
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+
"dune" {>= "3.0"}
27+
"ocaml" {>= "4.14"}
28+
"http" {= version}
29+
"cohttp" {= version}
30+
"async_kernel" {>= "v0.16.0"}
31+
"async_unix" {>= "v0.16.0"}
32+
"async" {>= "v0.16.0"}
33+
"base" {>= "v0.16.0"}
34+
"core" {with-test}
35+
"core_unix" {>= "v0.14.0"}
36+
"conduit-async" {>= "1.2.0"}
37+
"magic-mime"
38+
"mirage-crypto" {with-test}
39+
"logs"
40+
"fmt" {>= "0.8.2"}
41+
"sexplib0"
42+
"ppx_sexp_conv" {>= "v0.13.0"}
43+
"ounit" {with-test}
44+
"uri" {>= "2.0.0"}
45+
"uri-sexp"
46+
"ipaddr"
47+
"odoc" {with-doc}
48+
]
49+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
50+
build: [
51+
["dune" "subst"] {dev}
52+
[
53+
"dune"
54+
"build"
55+
"-p"
56+
name
57+
"-j"
58+
jobs
59+
"@install"
60+
"@cohttp-async/runtest" {with-test}
61+
"@doc" {with-doc}
62+
]
63+
]
64+
available: arch != "s390x"
65+
url {
66+
src:
67+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz"
68+
checksum: [
69+
"sha256=2f00d14832c1c13427c12007e5b45a8f121e06e46d556a76904359ab26c0cff6"
70+
"sha512=342034580418d55e7b9657c09cf187c415e562fc041e8f5eaa489cfae08f60b98afcddbc77632b479755cdfb2d30b5653ed5250b5b7dbde01f0be93f4e828bcc"
71+
]
72+
}
73+
x-commit-hash: "bc9c78549a32d49be5fb51589331da51e86de269"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
synopsis: "Cohttp client using Curl & Async as the backend"
3+
description: """
4+
An HTTP client that relies on Curl + Async for the backend. Does not require
5+
conduit for SSL."""
6+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
7+
authors: [
8+
"Anil Madhavapeddy"
9+
"Stefano Zacchiroli"
10+
"David Sheets"
11+
"Thomas Gazagnaire"
12+
"David Scott"
13+
"Rudi Grinberg"
14+
"Andy Ray"
15+
"Anurag Soni"
16+
]
17+
license: "ISC"
18+
homepage: "https://github.com/mirage/ocaml-cohttp"
19+
doc: "https://mirage.github.io/ocaml-cohttp/"
20+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
21+
depends: [
22+
"dune" {>= "3.0"}
23+
"ocurl"
24+
"http" {= version}
25+
"stringext"
26+
"cohttp-curl" {= version}
27+
"core" {>= "v0.16.0"}
28+
"core_unix" {>= "v0.14.0"}
29+
"async_kernel"
30+
"async_unix"
31+
"cohttp-async" {with-test & = version}
32+
"uri" {with-test & >= "4.2.0"}
33+
"fmt" {with-test}
34+
"ounit" {with-test}
35+
"alcotest" {with-test}
36+
"odoc" {with-doc}
37+
]
38+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
39+
build: [
40+
["dune" "subst"] {dev}
41+
[
42+
"dune"
43+
"build"
44+
"-p"
45+
name
46+
"-j"
47+
jobs
48+
"@install"
49+
"@cohttp-curl-async/runtest" {with-test}
50+
"@doc" {with-doc}
51+
]
52+
]
53+
url {
54+
src:
55+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz"
56+
checksum: [
57+
"sha256=2f00d14832c1c13427c12007e5b45a8f121e06e46d556a76904359ab26c0cff6"
58+
"sha512=342034580418d55e7b9657c09cf187c415e562fc041e8f5eaa489cfae08f60b98afcddbc77632b479755cdfb2d30b5653ed5250b5b7dbde01f0be93f4e828bcc"
59+
]
60+
}
61+
x-commit-hash: "bc9c78549a32d49be5fb51589331da51e86de269"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
synopsis: "Cohttp client using Curl & Lwt as the backend"
3+
description: """
4+
An HTTP client that relies on Curl + Lwt for the backend. Does not require
5+
conduit for SSL."""
6+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
7+
authors: [
8+
"Anil Madhavapeddy"
9+
"Stefano Zacchiroli"
10+
"David Sheets"
11+
"Thomas Gazagnaire"
12+
"David Scott"
13+
"Rudi Grinberg"
14+
"Andy Ray"
15+
"Anurag Soni"
16+
]
17+
license: "ISC"
18+
homepage: "https://github.com/mirage/ocaml-cohttp"
19+
doc: "https://mirage.github.io/ocaml-cohttp/"
20+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
21+
depends: [
22+
"dune" {>= "3.0"}
23+
"ocaml" {>= "4.08"}
24+
"ocurl"
25+
"http" {= version}
26+
"cohttp-curl" {= version}
27+
"stringext"
28+
"lwt" {>= "5.3.0"}
29+
"uri" {with-test & >= "4.2.0"}
30+
"alcotest" {with-test}
31+
"cohttp-lwt-unix" {with-test & = version}
32+
"cohttp" {with-test & = version}
33+
"cohttp-lwt" {with-test & = version}
34+
"conduit-lwt" {with-test}
35+
"ounit" {with-test}
36+
"odoc" {with-doc}
37+
]
38+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
39+
build: [
40+
["dune" "subst"] {dev}
41+
[
42+
"dune"
43+
"build"
44+
"-p"
45+
name
46+
"-j"
47+
jobs
48+
"@install"
49+
"@cohttp-curl-lwt/runtest" {with-test}
50+
"@doc" {with-doc}
51+
]
52+
]
53+
url {
54+
src:
55+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz"
56+
checksum: [
57+
"sha256=2f00d14832c1c13427c12007e5b45a8f121e06e46d556a76904359ab26c0cff6"
58+
"sha512=342034580418d55e7b9657c09cf187c415e562fc041e8f5eaa489cfae08f60b98afcddbc77632b479755cdfb2d30b5653ed5250b5b7dbde01f0be93f4e828bcc"
59+
]
60+
}
61+
x-commit-hash: "bc9c78549a32d49be5fb51589331da51e86de269"

Diff for: packages/cohttp-curl/cohttp-curl.6.0.0~alpha2/opam

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis: "Shared code between the individual cohttp-curl clients"
3+
description: "Use cohttp-curl-lwt or cohttp-curl-async"
4+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
5+
authors: [
6+
"Anil Madhavapeddy"
7+
"Stefano Zacchiroli"
8+
"David Sheets"
9+
"Thomas Gazagnaire"
10+
"David Scott"
11+
"Rudi Grinberg"
12+
"Andy Ray"
13+
"Anurag Soni"
14+
]
15+
license: "ISC"
16+
homepage: "https://github.com/mirage/ocaml-cohttp"
17+
doc: "https://mirage.github.io/ocaml-cohttp/"
18+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
19+
depends: [
20+
"dune" {>= "3.0"}
21+
"ocaml" {>= "4.08"}
22+
"ocurl"
23+
"http" {= version}
24+
"stringext"
25+
"odoc" {with-doc}
26+
]
27+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"@install"
38+
"@cohttp-curl/runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
]
42+
url {
43+
src:
44+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz"
45+
checksum: [
46+
"sha256=2f00d14832c1c13427c12007e5b45a8f121e06e46d556a76904359ab26c0cff6"
47+
"sha512=342034580418d55e7b9657c09cf187c415e562fc041e8f5eaa489cfae08f60b98afcddbc77632b479755cdfb2d30b5653ed5250b5b7dbde01f0be93f4e828bcc"
48+
]
49+
}
50+
x-commit-hash: "bc9c78549a32d49be5fb51589331da51e86de269"

Diff for: packages/cohttp-eio/cohttp-eio.6.0.0~alpha2/opam

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
opam-version: "2.0"
2+
synopsis: "CoHTTP implementation with eio backend"
3+
description:
4+
"A CoHTTP server and client implementation based on `eio` library. `cohttp-eio`features a multicore capable HTTP 1.1 server. The library promotes and is built with direct style of coding as opposed to a monadic."
5+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
6+
authors: [
7+
"Anil Madhavapeddy"
8+
"Stefano Zacchiroli"
9+
"David Sheets"
10+
"Thomas Gazagnaire"
11+
"David Scott"
12+
"Rudi Grinberg"
13+
"Andy Ray"
14+
"Anurag Soni"
15+
]
16+
license: "ISC"
17+
homepage: "https://github.com/mirage/ocaml-cohttp"
18+
doc: "https://mirage.github.io/ocaml-cohttp/"
19+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
20+
depends: [
21+
"dune" {>= "3.0"}
22+
"base-domains"
23+
"eio" {>= "0.10"}
24+
"eio_main" {with-test}
25+
"mdx" {with-test}
26+
"uri" {with-test}
27+
"fmt"
28+
"ptime"
29+
"http" {= version}
30+
"odoc" {with-doc}
31+
]
32+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
33+
build: [
34+
["dune" "subst"] {dev}
35+
[
36+
"dune"
37+
"build"
38+
"-p"
39+
name
40+
"-j"
41+
jobs
42+
"@install"
43+
"@cohttp-eio/runtest" {with-test}
44+
"@doc" {with-doc}
45+
]
46+
]
47+
url {
48+
src:
49+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz"
50+
checksum: [
51+
"sha256=2f00d14832c1c13427c12007e5b45a8f121e06e46d556a76904359ab26c0cff6"
52+
"sha512=342034580418d55e7b9657c09cf187c415e562fc041e8f5eaa489cfae08f60b98afcddbc77632b479755cdfb2d30b5653ed5250b5b7dbde01f0be93f4e828bcc"
53+
]
54+
}
55+
x-commit-hash: "bc9c78549a32d49be5fb51589331da51e86de269"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
opam-version: "2.0"
2+
synopsis: "CoHTTP implementation for the Js_of_ocaml JavaScript compiler"
3+
description: """
4+
An implementation of an HTTP client for JavaScript, but using the
5+
CoHTTP types. This lets you build HTTP clients that can compile
6+
natively (using one of the other Cohttp backends such as `cohttp-lwt-unix`)
7+
and also to native JavaScript via js_of_ocaml.
8+
"""
9+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
10+
authors: [
11+
"Anil Madhavapeddy"
12+
"Stefano Zacchiroli"
13+
"David Sheets"
14+
"Thomas Gazagnaire"
15+
"David Scott"
16+
"Rudi Grinberg"
17+
"Andy Ray"
18+
"Anurag Soni"
19+
]
20+
license: "ISC"
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+
"dune" {>= "3.0"}
26+
"ocaml" {>= "4.08"}
27+
"http" {= version}
28+
"cohttp" {= version}
29+
"cohttp-lwt" {= version}
30+
"logs"
31+
"lwt" {>= "3.0.0"}
32+
"lwt_ppx" {with-test}
33+
"conf-npm" {with-test}
34+
"js_of_ocaml" {>= "3.3.0"}
35+
"js_of_ocaml-ppx" {>= "3.3.0"}
36+
"js_of_ocaml-lwt" {>= "3.5.0"}
37+
"odoc" {with-doc}
38+
]
39+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
40+
build: [
41+
["dune" "subst"] {dev}
42+
[
43+
"dune"
44+
"build"
45+
"-p"
46+
name
47+
"-j"
48+
jobs
49+
"@install"
50+
"@cohttp-lwt-jsoo/runtest" {with-test}
51+
"@doc" {with-doc}
52+
]
53+
]
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha2/cohttp-6.0.0.alpha2.tbz"
57+
checksum: [
58+
"sha256=2f00d14832c1c13427c12007e5b45a8f121e06e46d556a76904359ab26c0cff6"
59+
"sha512=342034580418d55e7b9657c09cf187c415e562fc041e8f5eaa489cfae08f60b98afcddbc77632b479755cdfb2d30b5653ed5250b5b7dbde01f0be93f4e828bcc"
60+
]
61+
}
62+
x-commit-hash: "bc9c78549a32d49be5fb51589331da51e86de269"

0 commit comments

Comments
 (0)