File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
2+ ## 0.6
3+
4+ - feat: add ` Route.t ` construct, deprecate scanf, add more structured path
5+ - feat: use chunked encoding for large string responses, in addition to streams
6+ - refactor(echo): simplify code, use gzip aggressively
7+ - accept http1.0
8+
9+ - fix: do not output a ` content-length ` for a chunked response
10+ - fix: set ` transfer-encoding ` header when returning a chunked stream
11+ - fix(zip): handle case where camlzip consumes 0 bytes
12+ - feat(zip): also compress string responses if they're big
13+ - add more debug msg
14+
215## 0.5
316
417- new ` tiny_httpd_camlzip ` library for handling ` deflate ` compression
Original file line number Diff line number Diff line change @@ -227,10 +227,10 @@ module Request : sig
227227 and headers are read; then it has a stream body; then the body might be
228228 entirely read as a string via {!read_body_full}.
229229
230- The field [query] was added @since NEXT_RELEASE and contains
230+ The field [query] was added @since 0.6 and contains
231231 the query parameters in ["?foo=bar,x=y"]
232232 The field [path_components] is the part of the path that precedes [query]
233- and is split on ["/"] and was added @since NEXT_RELEASE
233+ and is split on ["/"] and was added @since 0.6
234234 *)
235235
236236 val pp : Format .formatter -> string t -> unit
373373(* * {2 Routing}
374374
375375 Basic type-safe routing.
376- @since NEXT_RELEASE *)
376+ @since 0.6 *)
377377module Route : sig
378378 type ('a, 'b) comp
379379 (* * An atomic component of a path *)
@@ -528,7 +528,7 @@ val add_route_handler_stream :
528528 is a stream of bytes that has not been read yet.
529529 This is useful when one wants to stream the body directly into a parser,
530530 json decoder (such as [Jsonm]) or into a file.
531- @since NEXT_RELEASE *)
531+ @since 0.6 *)
532532
533533val stop : t -> unit
534534(* * Ask the server to stop. This might not have an immediate effect
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ val split_query : string -> string * string
1919
2020val split_on_slash : string -> string list
2121(* * Split a string on ['/'], remove the trailing ['/'] if any.
22- @since NEXT_RELEASE *)
22+ @since 0.6 *)
2323
2424val get_non_query_path : string -> string
2525(* * get the part of the path that is not the query parameters.
Original file line number Diff line number Diff line change 11opam-version: "2.0"
2- version: "0.5 "
2+ version: "0.6 "
33authors: ["Simon Cruanes"]
44maintainer: "simon.cruanes.2007@m4x.org"
55license: "MIT"
Original file line number Diff line number Diff line change 11opam-version: "2.0"
2- version: "0.5 "
2+ version: "0.6 "
33authors: ["Simon Cruanes"]
44maintainer: "simon.cruanes.2007@m4x.org"
55license: "MIT"
You can’t perform that action at this time.
0 commit comments