def Http.framing
import bend-kube-runtime@0.2.0.0/src/http.bend as Httpimport Base
241# The body's framing, once the head is read: chunked, a length, or none
242# (204, 304 and 1xx carry no body).
243def Http.framing(+h: Head) -> Phase:
244 match h:
245 case Head{+code, r, hs}:
246 Http.framing.go(code, Http.find(hs, "transfer-encoding"), Http.find(hs, "content-length"))