Cors.cors.expose_of: def of emerging-ezhttp@0.22.0.0 Import: import emerging-ezhttp@0.22.0.0/src/cors.bend as Cors Lines 204-211 of emerging-ezhttp@0.22.0.0/src/cors.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.22.0.0/src/cors.bend&start_line=204&end_line=211 import Base import emerging-ezhttp@0.22.0.0/src/http.bend as Http # Access-Control-Expose-Headers when the list is not empty def cors.expose_of(hs: List<&2, Http.Header>, expose: List<&2, String>, empty: Bool) -> List<&2, Http.Header>: match empty: case True{}: hs case False{}: Http.H{"Access-Control-Expose-Headers", cors.join(expose)} <> hs Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/cors.bend&name=cors.join https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&name=Header