def jar.opt.apply
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-url@0.4.1.0/url.bend as Url
2454# The jar, if any, that a fetch threads through its hops.
2455def jar.opt.apply(m: Maybe<&2, Jar>, a: Url.Abs, +h: Map<&2, List<&2, String>>) -> Map<&2, List<&2, String>>:
2456 match m:
2457 case None{}:
2458 h
2459 case Some{j}:
2460 jar.header(h, jar.string(j, a))