def head.form

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

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

476def head.form(ok: Bool, +ps: List<&2, Param>, ct: Maybe<&2, String>) -> Result<&1, &1, String, Item>:
477  match ok:
478    case False{}:
479      Fail{"multipart: Content-Disposition is not form-data"}
480    case True{}:
481      head.named(lookup(ps, "name"), lookup(ps, "filename"), ct)

Uses (9)

Used by (1)