Skip to content

quic: http/3 headers behave differently than http/2 #63557

@martenrichter

Description

@martenrichter

May be something not so important, but I stumpled upon it, when I tried to convert some http/2 code to http/3 code.

For http/2 headers[':status'] is numeric, while it is for http/3 a string.
You can also see it, if you compare the tests for the header fields.
I am not sure, if it is intentional, but I always thought the coding of http/3 headers is just the http/2 way.
This may be inconvenient for developers, so I do not have a strong opinion.
@jasnell
What do you think?
(And should I always mention you in the quic issues, or does it annoy more than help?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    quicIssues and PRs related to the QUIC implementation / HTTP/3.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions