Skip to content

Ability to emit a specific HTTP stream error code to the client #120

@guoye-zhang

Description

@guoye-zhang

Should we allow the server implementation to emit a specific HTTP stream error code to the client?

There error codes in HTTP/2 and HTTP/3 might be useful to applications, as we have special handling for them on the client-side:

H3_EXCESSIVE_LOAD / ENHANCE_YOUR_CALM
H3_REQUEST_REJECTED / REFUSED_STREAM
H3_VERSION_FALLBACK / HTTP_1_1_REQUIRED

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions