def decoded.both
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
4112# One copy decodes; the other is the body as sent, for a coding we cannot decode.
4113def decoded.both(+status: U32, +headers: Map<&2, List<&2, String>>, cs: List<&2, String>, r: Bytes.Bytes & Bytes.Bytes) -> Result<&1, &1, Err, Res>:
4114 (a, body) = r
4115 decoded.pick(ce.go(cs, DecOk{a}), status, headers, body)