def admission.turn.head
bend-kit-http@0.38.2.0 · http.bend:6191
import bend-kit-http@0.38.2.0/http.bend as Http
import Base
6191def admission.turn.head(turn: Turn) -> Bool:
6192 match turn:
6193 case TurnReq{req, rest, v11}:
6194 admission.head(req)
6195 case TurnMore{sv, cont}:
6196 match sv:
6197 case SvHead{buf}:
6198 False{}
6199 case SvLen{req, v11, left, parts}:
6200 admission.head(req)
6201 case SvChunk{req, v11, n, state, parts}:
6202 admission.head(req)
6203 case TurnFail{status}:
6204 False{}
6205 case TurnClose{}:
6206 False{}
6207 case TurnInputFailed{operation, code, message}:
6208 False{}