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
Relationship to the ABNF #Rule #596
Comments
-1 on "overriding" anything the base spec says. If you want list semantics, use the matching ABNF notation. |
To be clear, I have no objection to using the |
I don't think we should tie requirements for handling of HTTP extensions into what convention is used to define their syntax. Will raise an issue against httpwg/http-core. |
Maybe, but the core question is the behavior, not the syntax (handling empty elements, for instance). |
Why is empty special? I'd expect
to yield |
Nope. It would yield |
I think this can be closed, as the current draft recommends the use of ABNF, and the core issue seems to be heading in the direction of not tying those semantics to the # rule. Do we need specific text to handle the situation outlined above (with a blank header line) to assure that it's handled correctly? If so please open an issue dedicated to that. |
Filed #686 on that, seems useful especially as I suspect that not many implementations get that right. |
As @reschke points out in https://lists.w3.org/Archives/Public/ietf-http-wg/2018JanMar/0209.html, https://tools.ietf.org/html/rfc7230#section-3.2.2 says:
draft-ietf-httpbis-header-structure should explicitly override that prohibition for lists, dictionaries, and parameterised lists. It could do this by using the # construct in the ABNF for those types, but because the parsing algorithm in structured headers isn't actually driven by the ABNF, I'm not sure that's the right approach.
The parsing side is already handled by http://httpwg.org/http-extensions/draft-ietf-httpbis-header-structure.html#text.
The text was updated successfully, but these errors were encountered: