def fields_put.fold
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
324def fields_put.fold(m: Map<&2, List<&2, String>>, line: String, fold: Bool) -> Fields:
325 match fold:
326 case True{}:
327 FieldsBad{}
328 case False{}:
329 fields_put.kv(m, split_colon(line))