def parse.res.cl

bend-kit-http@0.38.2.0 · http.bend:895

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

895def parse.res.cl(+h: Map<&2, List<&2, String>>, rest: String, hascl: Bool) -> Hold:
896  match hascl:
897    case False{}:
898      HoldBody{rest}
899    case True{}:
900      parse.res.cl.n(rest, parse_u32(header(h, "content-length")))

Uses (8)

Used by (1)