Re: [whatwg/fetch] Allow HTTP scheme fetches to make CORS preflight for navigations (PR #1785)

Oh, you're right, thanks for the link. 

I think `Sec-Fetch-Dest` works! The definition of the [`document`](https://fetch.spec.whatwg.org/#concept-request-destination) value is: "HTML’s navigate algorithm (top-level only)," which is what we want. This makes it possible for forms to add new targets in the future without impacting servers who only want CORS for top-level navigation today.

It should also apply to PNLA links.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1785#issuecomment-2526220423
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1785/c2526220423@github.com>

Received on Sunday, 8 December 2024 17:00:14 UTC