Cors.cors.simple_hs: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cors.bend as Cors Lines 218-223 of emerging-ezhttp@0.21.0.0/src/cors.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&start_line=218&end_line=223 import Base import emerging-ezhttp@0.21.0.0/src/http.bend as Http # simple-response CORS headers (ACAO, optional credentials, expose, vary) def cors.simple_hs(+acao: String, credentials: Bool, expose: List<&2, String>) -> List<&2, Http.Header>: cors.cred_on(cors.vary_on(cors.expose_on([ Http.H{"Access-Control-Allow-Origin", acao} ], expose), acao, cors.vary(acao)), credentials) Uses (8): 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.21.0.0/src/cors.bend&name=cors.cred_on https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&name=cors.expose_on https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&name=cors.vary https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&name=cors.vary_on https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Header