def decoded.go

bend-kit-http@0.38.5.0 · http.bend:4124

import bend-kit-http@0.38.5.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

4124def decoded.go(empty: Bool, +status: U32, +headers: Map<&2, List<&2, String>>, body: Bytes.Bytes) -> Result<&1, &1, Err, Res>:
4125  match empty:
4126    case True{}:
4127      Done{Res{status, headers, body}}
4128    case False{}:
4129      decoded.cs(status, headers, body, List.reverse(&2, String, ce.split(fields(headers, "content-encoding"))))

Uses (13)

Used by (1)