Conversation
|
I have checked the CDDL syntax with this command most definitions are unused though at this time |
|
Hey @lnicco, Thanks for the work and the cool one-liner to extract CDDL from the draft. Some initial feedback:
|
|
Thanks @rmarx! Very valuable feedback and advice. As far as using the HTTP3 prefix instead of HTTP I thought that it was valuable to distinguish between HTTP/3 and HTTP/2 especially around Frames (e.g. HTTP/2 Frames have flags?) but I'll revert to using HTTP and we can discuss further for future versions. I'll have a second iteration ready soon. |
1) Full CDDL validation ``` gh gist view https://gist.github.com/lnicco/27e8dd9375dcde17db07acb393fc9166 | cddl - generate | jq . ``` 2) `s/~~~ cddl-definition/~~~ cddl/`. checked that this generates the correct HTML 3) make a standalone type for all enums 4) `s/HTTP3/HTTP` 6) `make fix-lint && make` TODO: 5) have common types for FrameParsed/FrameCreated and HTTPParametersSet/HTTPParametersRestored see other TODO(lnicco)
|
@rmarx I addressed almost all the comments. I can use some guidance on how to address having shared types for Parameters and Frames. I also created a PR for the full CDDL file in case you want to link it all together |
…PHeader to HTTPField.
|
Hey @lnicco, Thanks for the updates and the very useful script, which I was also able to use for the QUIC events draft! I have added a new commit that primarily adds some overall consistency with the other two drafts (e.g., in terms of the code block ids, nothing major). I also noticed you were using 4 main things though:
With that, I believe this draft is (99%) ready for submission on Monday, so please review and let me know if you find any issues @lnicco @marten-seemann @LPardue. |
|
@rmarx thanks for the fixes and comments. I was thinking that we could even use the Known-length binary HTTP Message representation? |
|
on a second thought the binary representation is not needed at all. |
…h H3 and QPACK events.
|
@lnicco I'm not entirely sure I follow what you're saying wrt representation of full HTTPMessage here. However, I do get the impression that that is something that goes (way) beyond simply updating to CDDL here, and so I'd propose you open a new issue describing this (with ideally a concrete example/proposal) so we don't hold up this PR on that. Would you agree? |
|
absolutely, not related to the CDDL conversion. It's a separate discussion. |
No description provided.