mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -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 =
|
||||
h
|
||||
|> S.Headers.remove "Content-Length"
|
||||
|> S.Headers.set "Content-Encoding" "deflate, chunked"
|
||||
|> S.Headers.set "Content-Encoding" "deflate"
|
||||
in
|
||||
match resp.body with
|
||||
| `String s when String.length s > compress_above ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue