def parse.to

emerging-ezhttp@0.21.0.0 · src/http.bend:1475

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import 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"))

Uses (6)

Used by (2)