mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
wip: zlib
This commit is contained in:
parent
c2fb67615d
commit
8131c07425
1 changed files with 1 additions and 4 deletions
|
|
@ -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' ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue