def sv.cont
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
5746# RFC 9110 §10.1.1: answer 100 Continue only when the body is still to come.
5747def sv.cont(want: Bool, t: Turn) -> Turn:
5748 match t:
5749 case TurnMore{sv, c}:
5750 TurnMore{sv, want}
5751 case TurnClose{}:
5752 TurnClose{}
5753 case TurnInputFailed{operation, code, message}:
5754 TurnInputFailed{operation, code, message}
5755 case TurnFail{s}:
5756 TurnFail{s}
5757 case TurnReq{req, rest, v11}:
5758 TurnReq{req, rest, v11}