forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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)
- Loading branch information
Showing
9 changed files
with
485 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: [ | ||
"Anil Madhavapeddy" | ||
"Stefano Zacchiroli" | ||
"David Sheets" | ||
"Thomas Gazagnaire" | ||
"David Scott" | ||
"Rudi Grinberg" | ||
"Andy Ray" | ||
] | ||
synopsis: "CoHTTP implementation for the Async concurrency library" | ||
description: """ | ||
An implementation of an HTTP client and server using the Async | ||
concurrency library. See the `Cohttp_async` module for information | ||
on how to use this. The package also installs `cohttp-curl-async` | ||
and a `cohttp-server-async` binaries for quick uses of a HTTP(S) | ||
client and server respectively. | ||
""" | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"async_kernel" {>= "v0.14.0"} | ||
"async_unix" {>= "v0.14.0"} | ||
"async" {>= "v0.14.0"} | ||
"base" {>= "v0.11.0"} | ||
"core" {with-test} | ||
"cohttp" {=version} | ||
"conduit-async" {>="3.0.0"} | ||
"conduit-async-ssl" | ||
"magic-mime" | ||
"mirage-crypto" {with-test} | ||
"logs" | ||
"fmt" {>= "0.8.2"} | ||
"sexplib0" | ||
"ppx_sexp_conv" {>= "v0.13.0"} | ||
"ounit" {with-test} | ||
"uri" {>= "2.0.0"} | ||
"uri-sexp" | ||
"ipaddr" | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: [ | ||
"Anil Madhavapeddy" | ||
"Stefano Zacchiroli" | ||
"David Sheets" | ||
"Thomas Gazagnaire" | ||
"David Scott" | ||
"Rudi Grinberg" | ||
"Andy Ray" | ||
] | ||
synopsis: "CoHTTP implementation for the Js_of_ocaml JavaScript compiler" | ||
description: """ | ||
An implementation of an HTTP client for JavaScript, but using the | ||
CoHTTP types. This lets you build HTTP clients that can compile | ||
natively (using one of the other Cohttp backends such as `cohttp-lwt-unix`) | ||
and also to native JavaScript via js_of_ocaml. | ||
""" | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"cohttp" {=version} | ||
"cohttp-lwt" {=version} | ||
"lwt" {>= "3.0.0"} | ||
"js_of_ocaml" {>= "3.3.0"} | ||
"js_of_ocaml-ppx" {>= "3.3.0"} | ||
"js_of_ocaml-lwt" {>= "3.5.0"} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
55 changes: 55 additions & 0 deletions
55
packages/cohttp-lwt-unix-nossl/cohttp-lwt-unix-nossl.3.0.0/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: [ | ||
"Anil Madhavapeddy" | ||
"Stefano Zacchiroli" | ||
"David Sheets" | ||
"Thomas Gazagnaire" | ||
"David Scott" | ||
"Rudi Grinberg" | ||
"Andy Ray" | ||
] | ||
synopsis: "CoHTTP implementation for Unix and Windows using Lwt" | ||
description: """ | ||
An implementation of an HTTP client and server using the Lwt | ||
concurrency library. See the `Cohttp_lwt_unix` module for information | ||
on how to use this. The package also installs `cohttp-curl-lwt` | ||
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S) | ||
client and server respectively. | ||
|
||
Although the name implies that this only works under Unix, it | ||
should also be fine under Windows too.""" | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"conduit-lwt" {>= "3.0.0"} | ||
"ca-certs" | ||
"cmdliner" | ||
"magic-mime" | ||
"logs" | ||
"fmt" {>= "0.8.2"} | ||
"cohttp-lwt" {=version} | ||
"lwt" {>= "3.0.0"} | ||
"base-unix" | ||
"ounit" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
57 changes: 57 additions & 0 deletions
57
packages/cohttp-lwt-unix-ssl/cohttp-lwt-unix-ssl.3.0.0/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: [ | ||
"Anil Madhavapeddy" | ||
"Stefano Zacchiroli" | ||
"David Sheets" | ||
"Thomas Gazagnaire" | ||
"David Scott" | ||
"Rudi Grinberg" | ||
"Andy Ray" | ||
] | ||
synopsis: "CoHTTP implementation for Unix and Windows using Lwt" | ||
description: """ | ||
An implementation of an HTTP client and server using the Lwt | ||
concurrency library. See the `Cohttp_lwt_unix` module for information | ||
on how to use this. The package also installs `cohttp-curl-lwt` | ||
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S) | ||
client and server respectively. | ||
|
||
Although the name implies that this only works under Unix, it | ||
should also be fine under Windows too.""" | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"conduit-lwt" {>= "3.0.0"} | ||
"conduit-lwt-ssl" | ||
"ca-certs" | ||
"cmdliner" | ||
"magic-mime" | ||
"logs" | ||
"fmt" {>= "0.8.2"} | ||
"cohttp-lwt" {=version} | ||
"cohttp-lwt-unix-nossl" {=version} | ||
"lwt" {>= "3.0.0"} | ||
"base-unix" | ||
"ounit" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: [ | ||
"Anil Madhavapeddy" | ||
"Stefano Zacchiroli" | ||
"David Sheets" | ||
"Thomas Gazagnaire" | ||
"David Scott" | ||
"Rudi Grinberg" | ||
"Andy Ray" | ||
] | ||
synopsis: "CoHTTP implementation for Unix and Windows using Lwt" | ||
description: """ | ||
An implementation of an HTTP client and server using the Lwt | ||
concurrency library. See the `Cohttp_lwt_unix` module for information | ||
on how to use this. The package also installs `cohttp-curl-lwt` | ||
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S) | ||
client and server respectively. | ||
|
||
Although the name implies that this only works under Unix, it | ||
should also be fine under Windows too.""" | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"conduit-lwt" {>= "3.0.0"} | ||
"conduit-lwt-tls" | ||
"ca-certs" | ||
"cmdliner" | ||
"magic-mime" | ||
"logs" | ||
"fmt" {>= "0.8.2"} | ||
"cohttp-lwt" {=version} | ||
"cohttp-lwt-unix-nossl" {=version} | ||
"lwt" {>= "3.0.0"} | ||
"base-unix" | ||
"ounit" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: [ | ||
"Anil Madhavapeddy" | ||
"Stefano Zacchiroli" | ||
"David Sheets" | ||
"Thomas Gazagnaire" | ||
"David Scott" | ||
"Rudi Grinberg" | ||
"Andy Ray" | ||
] | ||
synopsis: "CoHTTP implementation using the Lwt concurrency library" | ||
description: """ | ||
This is a portable implementation of HTTP that uses the Lwt | ||
concurrency library to multiplex IO. It implements as much of the | ||
logic in an OS-independent way as possible, so that more specialised | ||
modules can be tailored for different targets. For example, you | ||
can install `cohttp-lwt-unix` or `cohttp-lwt-jsoo` for a Unix or | ||
JavaScript backend, or `cohttp-mirage` for the MirageOS unikernel | ||
version of the library. All of these implementations share the same | ||
IO logic from this module.""" | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"cohttp" {=version} | ||
"lwt" {>= "2.5.0"} | ||
"sexplib0" | ||
"ppx_sexp_conv" {>= "v0.13.0"} | ||
"logs" | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"] | ||
license: "ISC" | ||
tags: ["org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-cohttp" | ||
doc: "https://mirage.github.io/ocaml-cohttp/" | ||
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues" | ||
synopsis: "CoHTTP implementation for the MirageOS unikernel" | ||
description: """ | ||
This HTTP implementation uses the Cohttp portable implementaiton | ||
along with the Lwt threading library in order to provide a | ||
`Cohttp_mirage` functor that can be used in MirageOS unikernels | ||
to build very small and efficient HTTP clients and servers | ||
without having a hard dependency on an underlying operating | ||
system. | ||
|
||
Please see <https://mirage.io> for a self-hosted explanation | ||
and instructions on how to use this library.""" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "1.1.0"} | ||
"mirage-flow" {>= "2.0.0"} | ||
"mirage-channel" {>= "4.0.0"} | ||
"conduit" {>= "2.0.2"} | ||
"conduit-mirage" {>= "3.0.0"} | ||
"mirage-kv" {>= "3.0.0"} | ||
"lwt" {>= "2.4.3"} | ||
"cohttp" {=version} | ||
"cohttp-lwt" {=version} | ||
"astring" | ||
"magic-mime" | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git" | ||
x-commit-hash: "f3a29b332df416735690cc393c988893592bc40f" | ||
url { | ||
src: | ||
"https://github.com/mirage/ocaml-cohttp/releases/download/v3.0.0/cohttp-v3.0.0.tbz" | ||
checksum: [ | ||
"sha256=fb872f437aabc9c336bb822ac18ccbce794a2614ecb9d3edafb679dcafc82ea4" | ||
"sha512=a33a02f07621995aad6c7c571cab1ea715912b65a1b6ab0634d9033e786c3c61fefe08fd9783e66743eef8571ac0335136b77be830909ea1c5bbcf6617295a34" | ||
] | ||
} |
Oops, something went wrong.