send
send copied to clipboard
Why not also support deflate encoding?
Hi, why not also support deflate encoding,
let's say that I have a file ending with .zz instead of .br and .gz and if the accept encodings permit I'd like to send it with deflate encoding.
I can create a PR, but does this not make sense?
Do browsers that support deflate but not gzip exists?
@corupta The deflate protocol has some varying and broken implementations across different clients and is unpredictable. gzip is a very similar algorithm and is well supported. If you're doing ahead of time compression, then brotli is probably your best choice. To my knowledge there are no current browsers that support deflate that do not support gzip.