mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-08 12:15:41 -05:00
prepare for 0.4
This commit is contained in:
parent
b3f254446d
commit
995aee8489
4 changed files with 10 additions and 3 deletions
|
|
@ -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
|
## 0.3
|
||||||
|
|
||||||
- feat(http_of_dir): use `file` to guess mime type of file
|
- feat(http_of_dir): use `file` to guess mime type of file
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ module Request : sig
|
||||||
|
|
||||||
val query : _ t -> (string*string) list
|
val query : _ t -> (string*string) list
|
||||||
(** Decode the query part of the {!path} field
|
(** Decode the query part of the {!path} field
|
||||||
@since NEXT_RELEASE *)
|
@since 0.4 *)
|
||||||
|
|
||||||
val body : 'b t -> 'b
|
val body : 'b t -> 'b
|
||||||
(** Request body, possibly empty. *)
|
(** Request body, possibly empty. *)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ val percent_decode : string -> string option
|
||||||
|
|
||||||
val get_query : string -> string
|
val get_query : string -> string
|
||||||
(** Obtain the query part of a path
|
(** Obtain the query part of a path
|
||||||
@since NEXT_RELEASE *)
|
@since 0.4 *)
|
||||||
|
|
||||||
val parse_query : string -> ((string*string) list, string) result
|
val parse_query : string -> ((string*string) list, string) result
|
||||||
(** Parse a query as a list of ['&'] or [';'] separated [key=value] pairs.
|
(** Parse a query as a list of ['&'] or [';'] separated [key=value] pairs.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.3"
|
version: "0.4"
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
maintainer: "simon.cruanes.2007@m4x.org"
|
maintainer: "simon.cruanes.2007@m4x.org"
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue