def Http.parse_headers

bend-kube-runtime@0.2.0.0 · src/http.bend:161

import bend-kube-runtime@0.2.0.0/src/http.bend as Http
import Base

161def Http.parse_headers(lines: List<&2, String>) -> List<&2, Header>:
162  match lines:
163    case Nil{}:
164      Nil{}
165    case Con{l, t}:
166      Http.parse_headers.put(Http.parse_header(String.trim(l)), Http.parse_headers(t))

Uses (6)

Used by (1)