def h2.header.item
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-http2@0.4.0.0/hpack.bend as Hpack
3166def h2.header.item(skip: Bool, +name: String, vs: List<&2, String>,
3167 tail: List<&2, Hpack.Field>) -> List<&2, Hpack.Field>:
3168 match skip:
3169 case True{}:
3170 tail
3171 case False{}:
3172 List.append(&2, Hpack.Field, h2.header.values(name, h2.header.mode(name), vs), tail)