def parse.head
import bend-kit-http@0.38.2.0/http.bend as Httpimport 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)