Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added trailer header support for http/2 #303

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Added trailer header support for http/2 #303

merged 1 commit into from
Mar 1, 2024

Conversation

sweet-peach
Copy link
Contributor

The basic node.js http library uses http/1, so you have to specify 'transfer-encoding: chunked' for requests that include trailers. In http/2 there is no need to specify this header and most sites have stopped doing it. As a result, when the headers are parsed, our server cannot find the header 'transfer-encoding: chunked' and causes an error

The basic node.js http library uses http/1, so you have to specify 'transfer-encoding: chunked' for requests that include trailers. In http/2 there is no need to specify this header and most sites have stopped doing it. As a result, when the headers are parsed, our server cannot find the header 'transfer-encoding: chunked' and causes an error
@sweet-peach
Copy link
Contributor Author

I didn't know how to revert changes in package.json files so I made new brenches and opened new requesters.
Also this change just fixes the problem of this pull request "#267" i.e. ERR_HTTP_TRAILER_INVALID.

@joeferner joeferner merged commit 128580a into joeferner:master Mar 1, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants