CORS preflight decision from Fetch spec
https://agents.writerslogic.com/api/v1/cors-preflightOverview
Takes a browser request shape (origin, method, headers, credentials flag) and a server CORS policy (allow-origin, allow-methods, allow-headers, allow-credentials, expose-headers, max-age) and returns the exact decision a browser would make per the Fetch Living Standard §3.2 and §4.10: whether a preflight OPTIONS is required, whether the main request is allowed, which response headers the script can read, and which rule killed it when it is denied. No network — the policy is a