diff --git a/CHANGES.md b/CHANGES.md index 3e0465c0..9a299e1c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,11 @@ +## 0.4 + +- easy accessor to the query parameters in path +- fix: header field names are case insensitive +- doc: add note on jemalloc in the readme +- log error when closing client socket + ## 0.3 - feat(http_of_dir): use `file` to guess mime type of file diff --git a/src/Tiny_httpd.mli b/src/Tiny_httpd.mli index 8ec54bdc..00d07730 100644 --- a/src/Tiny_httpd.mli +++ b/src/Tiny_httpd.mli @@ -235,7 +235,7 @@ module Request : sig val query : _ t -> (string*string) list (** Decode the query part of the {!path} field - @since NEXT_RELEASE *) + @since 0.4 *) val body : 'b t -> 'b (** Request body, possibly empty. *) diff --git a/src/Tiny_httpd_util.mli b/src/Tiny_httpd_util.mli index 681900c6..e1ed5d36 100644 --- a/src/Tiny_httpd_util.mli +++ b/src/Tiny_httpd_util.mli @@ -15,7 +15,7 @@ val percent_decode : string -> string option val get_query : string -> string (** Obtain the query part of a path - @since NEXT_RELEASE *) + @since 0.4 *) val parse_query : string -> ((string*string) list, string) result (** Parse a query as a list of ['&'] or [';'] separated [key=value] pairs. diff --git a/tiny_httpd.opam b/tiny_httpd.opam index d8459bf2..ca224e42 100644 --- a/tiny_httpd.opam +++ b/tiny_httpd.opam @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "0.3" +version: "0.4" authors: ["Simon Cruanes"] maintainer: "simon.cruanes.2007@m4x.org" license: "MIT"