def parse.to
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1475# the response to a request with this method (RFC 9112 §6.3): interim 1xx
1476# heads skipped, and no body for HEAD or a 1xx, 204 or 304 final status
1477def parse.to(+method: String, +raw: String) -> Reply:
1478 parse.to.go(String.length(raw), String.eq(method, "HEAD"),
1479 divide(raw, "\r\n\r\n"))