def pc.end
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
4676# The server closed. Only a close-delimited body may end this way (RFC 9112 §8).
4677def pc.end(ok: Bool) -> Pc:
4678 match ok:
4679 case True{}:
4680 Pc{RbDone{}, PoEnd{}}
4681 case False{}:
4682 Pc{RbDone{}, PoBad{ErrBad{}}}