def form.check.type
import emerging-ezhttp@0.22.0.0/src/form.bend as Formimport Base
241# the plan once its content types are checked
242def form.check.type(+b: String, ps: List<&2, Part>, bad: Bool) -> Plan:
243 match bad:
244 case True{}:
245 NoPlan{"a file part's content type holds a CR or LF"}
246 case False{}:
247 Plan{form.type(b), form.parts(b, ps)}