def parse.head

bend-kit-http@0.38.2.0 · http.bend:865

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

865def parse.head(+head: String, rest: String, whole: Bool) -> Got:
866  match whole:
867    case False{}:
868      GotMore{}
869    case True{}:
870      parse.lines(parse.first(head, SNil{}), rest)

Uses (5)

Used by (1)