def sv.chunk.cap

bend-kit-http@0.38.5.0 · http.bend:5718

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

5718def sv.chunk.cap(big: Bool, req: Req, +v11: Bool, n: U32, st: Dc, parts: List<&1, Bytes.Bytes>, rest: Bytes.Bytes) -> Turn:
5719  match big:
5720    case True{}:
5721      TurnFail{413}
5722    case False{}:
5723      sv.chunk.of(req, v11, n, Ck{st, parts, rest})

Uses (9)

Used by (1)