This commit is contained in:
Simon Cruanes 2021-12-16 10:54:11 -05:00
parent b5e50fac59
commit fe36acf198
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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 ->