- From: Simon Wülker <notifications@github.com>
- Date: Wed, 18 Sep 2024 03:20:34 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 18 September 2024 10:20:38 UTC
### What is the issue with the Fetch Standard? When [`serializing a request origin`](https://fetch.spec.whatwg.org/#serializing-a-request-origin), Step 2. tells us to `Return request's origin, serialized`. A [request's origin](https://fetch.spec.whatwg.org/#concept-request-origin) is either `"client"` or an [Origin](https://html.spec.whatwg.org/multipage/browsers.html#concept-origin). However, the [`ASCII serialisation of an origin`](https://html.spec.whatwg.org/multipage/browsers.html#ascii-serialisation-of-an-origin) algorithm referenced in Step 2. does not handle the case of a `"client"` origin. (Because it is about serializing an origin as described in the HTML spec, not a request's origin as described in the fetch spec.) How should an origin of `"client"` be serialized? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1773 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1773@github.com>
Received on Wednesday, 18 September 2024 10:20:38 UTC