def form.enc
import bend-kit-multipart@0.3.0.0/multipart.bend as Multipartimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
295def form.enc(+b: String, r: Result<&1, &1, String, Bytes.Bytes>) -> Result<&1, &1, U32 & String, String & Bytes.Bytes>:
296 match r:
297 case Fail{m}:
298 Fail{(22, m)}
299 case Done{body}:
300 Done{(content_type(b), body)}