def Http.count.if
import bend-kube-runtime@0.2.0.0/src/http.bend as Httpimport Base
292def Http.count.if(+left: U32, chunk: Bool, zero: Bool) -> Phase:
293 match chunk zero:
294 case True{} True{}:
295 PCrlf{}
296 case False{} True{}:
297 PDone{}
298 case True{} False{}:
299 PData{left}
300 case False{} False{}:
301 PLen{left}