Skip to content

Revise list of hop-by-hop headers #3943

@l-hedgehog

Description

@l-hedgehog

The list of hop-by-hop headers in #3621 are taken from rfc2616, and there's Errata 4522 which says

Trailers (with a s) does not seem to a header field, just a keyword for TE.
I think that Trailer (without a s) is expected here.

I think the list here should be updated accordingly.

You might also want to take these discussions 1 2 about the missing of such a list in updated http/1.1 rfc723* into consideration.

How I found this:

I'm using hapijs/h2o2 to proxy request to hapi-auth-hawk protected endpoint, but after upgrading from node 8 to 10, I'm getting an ERR_HTTP_TRAILER_INVALID error, seemingly from the removal of "transfer-encoding" but not "trailer".

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions