def trailers_to_headers
import bendonnect-rpc@0.1.0.0/src/metadata.bend as Metadataimport Base
15# Every key gets the "trailer-" prefix (unary responses carry trailers as headers).
16def trailers_to_headers(m: Map<&2, List<&2, String>>) -> Map<&2, List<&2, String>>:
17 trailers_to_headers.go(Map.to_list(&2, List<&2, String>, m), Map.new(&2, List<&2, String>))