Http.Http.framing.pick: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/http.bend as Http Lines 224-233 of bend-kube-runtime@0.2.0.0/src/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&start_line=224&end_line=233 import Base def Http.framing.pick(none: Bool, te: Maybe<&2, String>, cl: Maybe<&2, String>) -> Phase: match none te cl: case True{} _ _: PDone{} case False{} Some{t} _: Http.framing.te(String.contains(Http.lower(t), "chunked")) case False{} None{} Some{n}: Http.framing.len(U32.read(n)) case False{} None{} None{}: PClose{} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.contains https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.read https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Http.framing.len https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Http.framing.te https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Http.lower https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Phase