Skip to content

"A value is a byte sequence that matches the field-content token production." #213

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

Closed
domenic opened this issue Feb 14, 2016 · 3 comments
Closed

Comments

@domenic
Copy link
Member

domenic commented Feb 14, 2016

https://fetch.spec.whatwg.org/#concept-header-value

What about headers for which this is not true? It seems like browsers allow any byte sequence, as discussed in nodejs/http-parser#281.

Fetch should probably be the spec that defines the error handling for "invalid" server responses.

@annevk
Copy link
Member

annevk commented Feb 15, 2016

See #115 (comment) for a similar discussion.

Actually defining HTTP parsing is something I thought of doing at some point, and @gsnedders put some effort in, but it would be quite a bit of work and given that HTTP/2 changes this dramatically as I understand it due to the header compression tables it's unclear how much interest there is in cleaning up 0.9-1.1.

@gsnedders
Copy link
Member

HTTP/2 doesn't change it that much: it removes all the questions about message syntax parsing, but not about header syntax parsing.

@annevk
Copy link
Member

annevk commented Aug 12, 2016

I'm duplicating this against #332 as that contains more information about the issue with the current definition.

@annevk annevk closed this as completed Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants