mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
prepare for 0.19
This commit is contained in:
parent
d7a5cca1d4
commit
6203e7a4a7
5 changed files with 23 additions and 4 deletions
19
CHANGES.md
19
CHANGES.md
|
|
@ -1,4 +1,23 @@
|
||||||
|
|
||||||
|
## 0.19
|
||||||
|
|
||||||
|
- feat(headers): `set` will not reallocate whole list if not needed
|
||||||
|
- feat(headers): use case insensitive comparison
|
||||||
|
- fix(response): do not override "content-length" in raw response
|
||||||
|
- feat pool: expose `acquire/release` for advanced uses
|
||||||
|
|
||||||
|
## 0.18
|
||||||
|
|
||||||
|
- feat: add ?head_middlewares to `create`
|
||||||
|
- add content-type header for prometheus endpoint
|
||||||
|
- new flag ?enable_logging to disable regular logs (not debug)
|
||||||
|
- new sublibrary to deal with multipart-form-data
|
||||||
|
- feat response: add `pp_with`; have `pp` hide set-cookie headers
|
||||||
|
|
||||||
|
- fix percent encoding for < 0x10 chars
|
||||||
|
- Processing to fix incompatible -O and gcc flags
|
||||||
|
- fix: make check for 'Connection: Upgrade' header case-insensitive
|
||||||
|
|
||||||
## 0.17
|
## 0.17
|
||||||
|
|
||||||
- add optional middlewares to tiny_httpd_ws
|
- add optional middlewares to tiny_httpd_ws
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
(authors c-cube)
|
(authors c-cube)
|
||||||
(maintainers c-cube)
|
(maintainers c-cube)
|
||||||
(version 0.18)
|
(version 0.19)
|
||||||
(source (github c-cube/tiny_httpd))
|
(source (github c-cube/tiny_httpd))
|
||||||
(homepage https://github.com/c-cube/tiny_httpd/)
|
(homepage https://github.com/c-cube/tiny_httpd/)
|
||||||
(license MIT)
|
(license MIT)
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ val with_resource : 'a t -> ('a -> 'b) -> 'b
|
||||||
(** Low level control over the pool.
|
(** Low level control over the pool.
|
||||||
This is easier to get wrong (e.g. releasing the same resource twice)
|
This is easier to get wrong (e.g. releasing the same resource twice)
|
||||||
so use with caution.
|
so use with caution.
|
||||||
@since NEXT_RELEASE *)
|
@since 0.18 *)
|
||||||
module Raw : sig
|
module Raw : sig
|
||||||
val acquire : 'a t -> 'a
|
val acquire : 'a t -> 'a
|
||||||
val release : 'a t -> 'a -> unit
|
val release : 'a t -> 'a -> unit
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.18"
|
version: "0.19"
|
||||||
synopsis: "Minimal HTTP server using threads"
|
synopsis: "Minimal HTTP server using threads"
|
||||||
maintainer: ["c-cube"]
|
maintainer: ["c-cube"]
|
||||||
authors: ["c-cube"]
|
authors: ["c-cube"]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.18"
|
version: "0.19"
|
||||||
synopsis: "Interface to camlzip for tiny_httpd"
|
synopsis: "Interface to camlzip for tiny_httpd"
|
||||||
maintainer: ["c-cube"]
|
maintainer: ["c-cube"]
|
||||||
authors: ["c-cube"]
|
authors: ["c-cube"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue