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 #30

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

Redesign of "extract header list values" expected #30

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 linkValues be the result of getting Link from identifierResponse's header list.
  2. If linkValues is non-null, then:
    1. Let parsedLinkValues be the result of parsing linkValues per the #link-value ABNF. [RFC link]
    2. For each parsedLinkValue of parsedLinkValues:
      1. [Current processing of post-parsed-value goes here.]

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