def head.list
import emerging-ezhttp@0.22.0.0/src/http.bend as Httpimport Base
460# header lines after the status line as a list of fields
461def head.list(ls: List<&2, String>) -> List<&2, Header>:
462 match ls:
463 case []:
464 []
465 case h <> t:
466 head.cons(head.line(h), head.list(t))