def Http.end_head.go
import bend-kube-runtime@0.2.0.0/src/http.bend as Httpimport Base
269def Http.end_head.go(h: Maybe<&2, Head>) -> Resp:
270 match h:
271 case Some{+x}:
272 Resp{Http.framing(x), Some{x}, Nil{}}
273 case None{}:
274 Resp{PErr{"bad response head"}, None{}, Nil{}}