def fields_put.fold

bend-kit-http@0.38.2.0 · http.bend:324

import bend-kit-http@0.38.2.0/http.bend as Http
import 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))

Uses (7)

Used by (1)