Http.parse.cut: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/http.bend as Http Lines 932-939 of emerging-ezhttp@0.21.0.0/src/http.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&start_line=932&end_line=939 import Base # a response divided into its head and everything after the blank line # (RFC 9112 ยง2.1: header section ends at empty line) def parse.cut(c: Cut) -> Reply: match c: case NoCut{}: Torn{"the response head has no blank line after it"} case Cut{before, after}: parse.head(String.lines(before), after) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.lines https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Cut https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=parse.head