def sv.chunk.cap

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

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

5726def sv.chunk.cap(big: Bool, req: Req, +v11: Bool, n: U32, st: Dc, parts: List<&1, Bytes.Bytes>, rest: Bytes.Bytes) -> Turn:
5727  match big:
5728    case True{}:
5729      TurnFail{413}
5730    case False{}:
5731      sv.chunk.of(req, v11, n, Ck{st, parts, rest})

Uses (9)

Used by (1)