def parse.to.bare

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

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

1431# the final head with no body: its status and fields, an empty body
1432def parse.to.bare(m: Maybe<&2, U32>, ls: List<&2, String>) -> Reply:
1433  match m:
1434    case None{}:
1435      Torn{"the response has no status line"}
1436    case Some{n}:
1437      Reply{n, head.list(ls), ""}

Uses (6)

Used by (1)