def enc.body

bend-kit-multipart@0.3.0.0 · multipart.bend:252

import bend-kit-multipart@0.3.0.0/multipart.bend as Multipart
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

252def enc.body(ok: Bool, r: Bytes.Bytes & Maybe<&2, U32>, +head: String, xs: List<&1, Bytes.Bytes>) -> Result<&1, &1, String, List<&1, Bytes.Bytes>>:
253  match ok:
254    case False{}:
255      Fail{"multipart: Content-Type has CR or LF"}
256    case True{}:
257      enc.found(r, head, xs)

Uses (9)

Used by (1)