3 ms·
Also, nothing prevents you from checking the host server-side according to arbitrary logic and putting it into the CORS header dynamically.
by LudwigNagasena 2y ago
Also, nothing prevents you from checking the host server-side according to arbitrary logic and putting it into the CORS header dynamically.
- Retr0id 2y agoNothing prevents this, but the client must still emit preflight checks (an extra round-trip) for every endpoint, and again if headers need to change.