def headers
import cswap-bend-cli@0.1.0.0/http.bend as Httpimport Base
32def headers(hs: List<(String & String)>) -> String:
33 match hs:
34 case Nil{}:
35 ""
36 case Con{kv, t}:
37 header.line(kv) ++ headers(t)
import cswap-bend-cli@0.1.0.0/http.bend as Httpimport Base
32def headers(hs: List<(String & String)>) -> String:
33 match hs:
34 case Nil{}:
35 ""
36 case Con{kv, t}:
37 header.line(kv) ++ headers(t)