def codings
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import bend-kit-zlib@0.5.1.0/zlib.bend as Zlib
4276# gzip and deflate, then br and zstd when their C library loads.
4277def codings() -> IO(String):
4278 do IO<String>:
4279 b : Bool <- codings.has(~Zlib.brotli, Bytes.new(0))
4280 z : Bool <- codings.has(~Zlib.zstd, Bytes.new(0))
4281 return codings.add(z, codings.add(b, "gzip, deflate", "br"), "zstd")