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