Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear how to serialize request origin "client" #1773

Open
Wuelle opened this issue Sep 18, 2024 · 1 comment
Open

Unclear how to serialize request origin "client" #1773

Wuelle opened this issue Sep 18, 2024 · 1 comment
Labels
clarification Standard could be clearer

Comments

@Wuelle
Copy link

Wuelle commented Sep 18, 2024

What is the issue with the Fetch Standard?

When serializing a request origin, Step 2. tells us to
Return request's origin, serialized. A request's origin is either "client" or an Origin. However, the

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?

@annevk
Copy link
Member

annevk commented Sep 18, 2024

I don't think it can ever be "client" at that point in time? Might be reasonable to add an assert though.

@annevk annevk added the clarification Standard could be clearer label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer
Development

No branches or pull requests

2 participants