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

Redesign of "extract header list values" expected #51

Open
annevk opened this issue Oct 12, 2018 · 0 comments
Open

Redesign of "extract header list values" expected #51

annevk opened this issue Oct 12, 2018 · 0 comments

Comments

@annevk
Copy link
Member

annevk commented Oct 12, 2018

Hi, I'm planning to change something you use, in whatwg/fetch#814. The new design should be relatively straightforward for you, provided implementations actually use the ABNF for their parsers.

It would be something like:

  1. Let header be the result of getting Clear-Site-Data from response's header list.
  2. If header is non-null, then:
    1. Let headerTypes be the result of parsing header per the 1#( quoted-string ) ABNF.
    2. For each type of headerTypes, ...

Let me know if you have any concerns with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant