Skip to content

HPACK static table: accept-languages typo (should be accept-language) #10

@phluid61

Description

@phluid61

File: lib/ruby-h2/hpack.rb:97

RFC 7541 Appendix A, index 17 is accept-language (no trailing s). Currently spelled accept-languages.

If a peer references static index 17 by name, the decoded header name will be wrong. Encoding of accept-language headers also misses the static table name match, producing larger output.

Fix: change accept-languages to accept-language.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions