mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
details
This commit is contained in:
parent
b5e50fac59
commit
fe36acf198
2 changed files with 3 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ let decompress_req_stream_ ~buf_size (req:BS.t S.Request.t) : _ S.Request.t =
|
|||
|> S.Request.set_body body'
|
||||
| exception _ -> req
|
||||
end
|
||||
| _ -> req
|
||||
| _ -> req
|
||||
|
||||
let compress_resp_stream_
|
||||
~compress_above
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ val middleware :
|
|||
?compress_above:int ->
|
||||
?buf_size:int -> unit ->
|
||||
Tiny_httpd.Middleware.t
|
||||
(** Middleware responsible for deflate compression/decompression.
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val setup :
|
||||
?compress_above:int ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue