def admission.turn.head
bend-kit-http@0.38.5.0 · http.bend:6183
import bend-kit-http@0.38.5.0/http.bend as Http
import Base
6183def admission.turn.head(turn: Turn) -> Bool:
6184 match turn:
6185 case TurnReq{req, rest, v11}:
6186 admission.head(req)
6187 case TurnMore{sv, cont}:
6188 match sv:
6189 case SvHead{buf}:
6190 False{}
6191 case SvLen{req, v11, left, parts}:
6192 admission.head(req)
6193 case SvChunk{req, v11, n, state, parts}:
6194 admission.head(req)
6195 case TurnFail{status}:
6196 False{}
6197 case TurnClose{}:
6198 False{}
6199 case TurnInputFailed{operation, code, message}:
6200 False{}