mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
fix(zip)
This commit is contained in:
parent
bbe8d1c504
commit
020dd056ac
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ let cb_encode_compressed_stream
|
||||||
let set_headers h =
|
let set_headers h =
|
||||||
h
|
h
|
||||||
|> S.Headers.remove "Content-Length"
|
|> S.Headers.remove "Content-Length"
|
||||||
|> S.Headers.set "Content-Encoding" "deflate, chunked"
|
|> S.Headers.set "Content-Encoding" "deflate"
|
||||||
in
|
in
|
||||||
match resp.body with
|
match resp.body with
|
||||||
| `String s when String.length s > compress_above ->
|
| `String s when String.length s > compress_above ->
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue