File tree Expand file tree Collapse file tree 5 files changed +16
-9
lines changed
Expand file tree Collapse file tree 5 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 11
2+ ## 0.5
3+
4+ - new ` tiny_httpd_camlzip ` library for handling ` deflate ` compression
5+ - feat: expose ` Headers.empty `
6+ - fix: use the non-query path for routing
7+ - feat(util): add some query related utils
8+
29## 0.4
310
411- easy accessor to the query parameters in path
Original file line number Diff line number Diff line change @@ -82,15 +82,15 @@ module Buf_ : sig
8282
8383 val bytes_slice : t -> bytes
8484 (* * Access underlying slice of bytes.
85- @since NEXT_RELEASE *)
85+ @since 0.5 *)
8686
8787 val contents_and_clear : t -> string
8888 (* * Get contents of the buffer and clear it.
89- @since NEXT_RELEASE *)
89+ @since 0.5 *)
9090
9191 val add_bytes : t -> bytes -> int -> int -> unit
9292 (* * Append given bytes slice to the buffer.
93- @since NEXT_RELEASE *)
93+ @since 0.5 *)
9494end
9595
9696(* * {2 Generic stream of data}
@@ -186,7 +186,7 @@ module Headers : sig
186186
187187 val empty : t
188188 (* * Empty list of headers
189- @since NEXT_RELEASE *)
189+ @since 0.5 *)
190190
191191 val get : ?f : (string ->string ) -> string -> t -> string option
192192 (* * [get k headers] looks for the header field with key [k].
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ val percent_decode : string -> string option
1515
1616val split_query : string -> string * string
1717(* * Split a path between the path and the query
18- @since NEXT_RELEASE *)
18+ @since 0.5 *)
1919
2020val get_non_query_path : string -> string
2121(* * get the part of the path that is not the query parameters.
22- @since NEXT_RELEASE *)
22+ @since 0.5 *)
2323
2424val get_query : string -> string
2525(* * Obtain the query part of a path.
Original file line number Diff line number Diff line change 11opam-version: "2.0"
2- version: "0.4 "
2+ version: "0.5 "
33authors: ["Simon Cruanes"]
4455license: "MIT"
Original file line number Diff line number Diff line change 11opam-version: "2.0"
2- version: "0.4 "
2+ version: "0.5 "
33authors: ["Simon Cruanes"]
4455license: "MIT"
6- description : "Interface to camlzip for tiny_httpd"
6+ synopsis : "Interface to camlzip for tiny_httpd"
77build: [
88 ["dune" "build" "@install" "-p" name "-j" jobs]
99 ["dune" "build" "@doc" "-p" name] {with-doc}
You can’t perform that action at this time.
0 commit comments