def parse.body.cl

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

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

763def parse.body.cl(+h: Map<&2, List<&2, String>>, rest: String, hascl: Bool) -> Hold:
764  match hascl:
765    case False{}:
766      HoldBody{""}
767    case True{}:
768      parse.res.cl.n(rest, parse_u32(header(h, "content-length")))

Uses (8)

Used by (1)