Skip to content

Commit

Permalink
prepare for 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Feb 8, 2020
1 parent b3f2544 commit 995aee8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Tiny_httpd.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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. *)
Expand Down
2 changes: 1 addition & 1 deletion src/Tiny_httpd_util.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tiny_httpd.opam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opam-version: "2.0"
version: "0.3"
version: "0.4"
authors: ["Simon Cruanes"]
maintainer: "[email protected]"
license: "MIT"
Expand Down

0 comments on commit 995aee8

Please sign in to comment.