def header.parse
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
189# Header lines, "Name: value" each; a line with no colon is skipped.
190def header.parse(lines: List<&2, String>) -> List<&2, Header>:
191 match lines:
192 case Nil{}:
193 Nil{}
194 case Con{l, t}:
195 header.line(cut(l, ":"), header.parse(t))