wip: zlib

This commit is contained in:
Simon Cruanes 2019-11-18 18:42:43 -06:00
parent c2fb67615d
commit 8131c07425

View file

@ -127,9 +127,6 @@ let cb_decode_compressed_stream (req:unit S.Request.t) : _ option =
let req' = S.Request.set_header req "Transfer-Encoding" "chunked" in
Some (req', decode_gzip_stream_)
*)
| Some "deflate" ->
let req' = S.Request.set_header req "Transfer-Encoding" "chunked" in
Some (req', mk_decode_deflate_stream_ ())
| Some s when has_deflate s ->
begin match Scanf.sscanf s "deflate; %s" (fun s -> s) with
| tr' ->