Cors.cors.preflight.denied: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cors.bend as Cors Lines 184-193 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=184&end_line=193 import Base import emerging-ezhttp@0.21.0.0/src/http.bend as Http # skip the method check when the origin was refused def cors.preflight.denied(acao: String, +methods: List<&2, String>, headers: List<&2, String>, credentials: Bool, max_age: String, req_headers: String, +method: String, denied: Bool) -> Http.Reply: match denied: case True{}: Http.Reply{400, [], ""} case False{}: cors.preflight.method(acao, methods, headers, credentials, max_age, req_headers, method, cors.hit(method, methods)) Uses (6): 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.hit https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&name=cors.preflight.method https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Reply