- From: Tom Schuster <notifications@github.com>
- Date: Wed, 22 Jun 2022 08:45:48 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 June 2022 15:46:00 UTC
The current implementation in Gecko could be specified by roughly like this: > 2. If request’s response tainting is "cors" or request’s mode is "websocket", then append (`Origin`, serializedOrigin) to request’s header list. (unchanged) > 3. Otherwise, if request’s method is neither `GET` nor `HEAD`, then: > 3.1 If request’s mode is "cors", then append (`Origin`, serializedOrigin) to request’s header list. > 3.2 Otherwise, Switch on request’s referrer policy: [....] > 3.3 Append (`Origin`, serializedOrigin) to request’s header list. So basically we always add the real Origin CORS requests that aren't using the GET or HEAD request method. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1022#issuecomment-1163283926 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1022/1163283926@github.com>
Received on Wednesday, 22 June 2022 15:46:00 UTC