Http.header.parse: def of gralha-http-core@0.1.0.0 Import: import gralha-http-core@0.1.0.0/http.bend as Http Lines 189-195 of gralha-http-core@0.1.0.0/http.bend: https://jend.leeeet.dev/read.txt?path=gralha-http-core@0.1.0.0/http.bend&start_line=189&end_line=195 import Base # Header lines, "Name: value" each; a line with no colon is skipped. def header.parse(lines: List<&2, String>) -> List<&2, Header>: match lines: case Nil{}: Nil{} case Con{l, t}: header.line(cut(l, ":"), header.parse(t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=gralha-http-core@0.1.0.0/http.bend&name=Header https://jend.leeeet.dev/definition.txt?path=gralha-http-core@0.1.0.0/http.bend&name=cut https://jend.leeeet.dev/definition.txt?path=gralha-http-core@0.1.0.0/http.bend&name=header.line