- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 13 Aug 2024 01:13:31 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 13 August 2024 08:13:35 UTC
Correct. The history is that we added preflights for cross-origin requests you could not already make. I.e., everything you could already do with `<form>` was not intended to be protected. Inadvertently we did widen the number of requests you could make without preflight a little bit due to the flexibility of `XMLHttpRequest` versus `<form>` and as a result some of that has been tightened over the years to the extent deemed necessary by the security teams involved. To add, I think it is okay when other specifications use the `application/x-www-form-url-encoded` value and follow the rules of the format. If they start sending JSON with that type it would be wise to rein it in. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1706#issuecomment-2285633876 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1706/2285633876@github.com>
Received on Tuesday, 13 August 2024 08:13:35 UTC