def Http.parse_headers
import bend-kube-runtime@0.2.0.0/src/http.bend as Httpimport 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))