def parse.body.chunked.eq

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

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

770# RFC 9112 §6.3 (4): a request coding other than chunked cannot be framed.
771def parse.body.chunked.eq(rest: String, ok: Bool) -> Hold:
772  match ok:
773    case False{}:
774      HoldBad{}
775    case True{}:
776      chunk.live(rest)

Uses (4)

Used by (1)