Http.decoded.io: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/http.bend as Http Lines 4250-4254 of bend-kit-http@0.38.2.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.2.0/http.bend&start_line=4250&end_line=4254 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes # decoded through the C libraries, for the codings in enc. A body with any other coding stays as sent. def decoded.io(+enc: String, res: Res) -> IO(Result<&1, &1, Err, Res>): Res{+status, +headers, body} = res Bytes.Bytes{+len, buf} = body decoded.io.go(U32.is_zero(len), enc, status, headers, Bytes.Bytes{len, buf}) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_zero https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Err https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Res https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=decoded.io.go